Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 96.91 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 198 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002843, allocations: 8 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 63.47 MB / 481.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002168/0.1393, allocations: 1.537 MB / 483.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1405, allocations: 0.7446 MB / 483.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.1406, allocations: 4 kB / 483.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1408, allocations: 47.78 kB / 483.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1411, allocations: 59.83 kB / 483.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1413, allocations: 71.3 kB / 484 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.1415, allocations: 167.7 kB / 484.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.1416, allocations: 32.38 kB / 484.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1418, allocations: 83.62 kB / 484.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.142, allocations: 83.61 kB / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.142, allocations: 8 kB / 484.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.1422, allocations: 127.8 kB / 484.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.1423, allocations: 55.8 kB / 484.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.1424, allocations: 61.58 kB / 484.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1427, allocations: 195.8 kB / 484.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1427, allocations: 0 / 484.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1427, allocations: 0 / 484.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1427, allocations: 0 / 484.8 MB, free: 1.965 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007406/0.1434, allocations: 0.5067 MB / 485.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1435, allocations: 8.031 kB / 485.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.221e-05/0.1436, allocations: 70.53 kB / 485.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.1436, allocations: 27.62 kB / 485.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.1439, allocations: 241.2 kB / 485.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.144, allocations: 24.55 kB / 485.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.144, allocations: 20 kB / 485.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.1446, allocations: 385.2 kB / 486.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1446, allocations: 0 / 486.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.1447, allocations: 8 kB / 486.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/0.1447, allocations: 28.64 kB / 486.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.1453, allocations: 382.3 kB / 486.5 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.1467, allocations: 0.858 MB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.1471, allocations: 261 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.1472, allocations: 15.97 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1472, allocations: 30.56 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 4.298e-06/0.1472, allocations: 0 / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008017/0.148, allocations: 353.4 kB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1481, allocations: 51.41 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.1485, allocations: 335 kB / 488.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1485, allocations: 33.64 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.1487, allocations: 168 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.1487, allocations: 59.19 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.1488, allocations: 4 kB / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1489, allocations: 342.8 kB / 488.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.1491, allocations: 104.3 kB / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.1494, allocations: 184 kB / 489.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.1497, allocations: 134.4 kB / 489.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1497, allocations: 4 kB / 489.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006285/0.1503, allocations: 356.7 kB / 489.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1504, allocations: 8 kB / 489.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1504, allocations: 0 / 489.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1504, allocations: 8.375 kB / 489.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.151, allocations: 123.8 kB / 489.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.1532, allocations: 3.653 MB / 493.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.1535, allocations: 43.53 kB / 493.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.1535, allocations: 15.98 kB / 493.6 MB, free: 8.797 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.1538, allocations: 177.7 kB / 493.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.1538, allocations: 31.58 kB / 493.8 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/0.1545, allocations: 335.7 kB / 494.1 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.1545, allocations: 4 kB / 494.1 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1546, allocations: 0 / 494.1 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1546, allocations: 4 kB / 494.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.1549, allocations: 301.3 kB / 494.4 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1549, allocations: 0 / 494.4 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.1554, allocations: 111.8 kB / 494.5 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1554, allocations: 0 / 494.5 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.1555, allocations: 7.984 kB / 494.5 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.1577, allocations: 3.653 MB / 498.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1577, allocations: 4 kB / 498.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.1583, allocations: 362.4 kB / 498.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1584, allocations: 108.7 kB / 498.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.1584, allocations: 0 / 498.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.1586, allocations: 15.94 kB / 498.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.1587, allocations: 19.97 kB / 498.7 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1587, allocations: 4 kB / 498.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002905/0.159, allocations: 245.9 kB / 498.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.159, allocations: 0 / 498.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004433/0.1595, allocations: 71.91 kB / 499 MB, free: 3.141 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.1606, allocations: 0.9272 MB / 499.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.1616, allocations: 328.3 kB / 0.4885 GB, free: 1.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1616, allocations: 0 / 0.4885 GB, free: 1.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005968/0.1622, allocations: 191.8 kB / 0.4887 GB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.1626, allocations: 60.78 kB / 0.4887 GB, free: 1.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.1664, allocations: 3.723 MB / 0.4924 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.1669, allocations: 0.799 MB / 0.4932 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002986/0.1672, allocations: 82.88 kB / 0.4932 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.1673, allocations: 71.41 kB / 0.4933 GB, free: 12.81 MB / 382.1 MB Notification: Performance of SimCode: time 4.809e-06/0.1673, allocations: 0 / 0.4933 GB, free: 12.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.1877, allocations: 7.686 MB / 0.5008 GB, free: 5.414 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.188, allocations: 263.3 kB / 0.5011 GB, free: 5.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.184, allocations: 4 kB / 0.5011 GB, free: 5.07 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat