Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001689, allocations: 183.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.253/2.253, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 82.88 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5433/0.5433, allocations: 43.57 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.000501, allocations: 12 kB / 431.5 MB, free: 5.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1413, allocations: 58.84 MB / 490.3 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002983/0.1443, allocations: 1.561 MB / 491.9 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.1468, allocations: 1.034 MB / 492.9 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.147, allocations: 4 kB / 492.9 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.1474, allocations: 63.64 kB / 493 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.1477, allocations: 67.8 kB / 493.1 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.1484, allocations: 127.7 kB / 493.2 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000607/0.149, allocations: 323.3 kB / 493.5 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.1492, allocations: 57 kB / 493.6 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.1494, allocations: 135.4 kB / 493.7 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.1497, allocations: 159.3 kB / 493.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.1498, allocations: 8 kB / 493.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008185/0.1506, allocations: 279.6 kB / 494.1 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1508, allocations: 87.7 kB / 494.2 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.1509, allocations: 89.45 kB / 494.3 MB, free: 6.855 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007464/0.1517, allocations: 355.3 kB / 494.6 MB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1517, allocations: 0 / 494.6 MB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1517, allocations: 0 / 494.6 MB, free: 6.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1518, allocations: 4 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001385/0.1531, allocations: 0.6436 MB / 495.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.1532, allocations: 12.03 kB / 495.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.1534, allocations: 98.45 kB / 495.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.1536, allocations: 55.33 kB / 495.5 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006306/0.1542, allocations: 290.4 kB / 495.7 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.1543, allocations: 41.31 kB / 495.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.1544, allocations: 44 kB / 495.8 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.1561, allocations: 0.6232 MB / 496.4 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.1561, allocations: 0 / 496.4 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/0.1562, allocations: 20 kB / 496.5 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.474e-05/0.1563, allocations: 33.3 kB / 496.5 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.1577, allocations: 0.5124 MB / 497 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/0.1621, allocations: 1.418 MB / 498.4 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.1638, allocations: 466 kB / 498.9 MB, free: 2.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.213e-05/0.1639, allocations: 19.92 kB / 498.9 MB, free: 2.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.164, allocations: 34.62 kB / 498.9 MB, free: 2.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.956e-06/0.164, allocations: 0 / 498.9 MB, free: 2.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001695/0.1657, allocations: 0.4894 MB / 499.4 MB, free: 1.543 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.1658, allocations: 55.41 kB / 499.5 MB, free: 1.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.1669, allocations: 0.5523 MB / 0.4883 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.085e-05/0.1671, allocations: 25.7 kB / 0.4883 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.1673, allocations: 254.6 kB / 0.4886 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1675, allocations: 86.8 kB / 0.4887 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.1675, allocations: 8 kB / 0.4887 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1677, allocations: 326.8 kB / 0.489 GB, free: 216 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/0.1682, allocations: 152.2 kB / 0.4891 GB, free: 60 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3272/0.4954, allocations: 252.3 kB / 0.4894 GB, free: 42.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.4961, allocations: 195 kB / 0.4896 GB, free: 42.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.4961, allocations: 1.125 kB / 0.4896 GB, free: 42.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001449/0.4976, allocations: 483.7 kB / 0.49 GB, free: 42.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.4976, allocations: 8.766 kB / 0.49 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/0.4978, allocations: 39.28 kB / 0.4901 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/0.4979, allocations: 5.438 kB / 0.4901 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.4983, allocations: 41.98 kB / 0.4901 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.4983, allocations: 8.953 kB / 0.4901 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.4988, allocations: 51.36 kB / 0.4902 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.4989, allocations: 22.05 kB / 0.4902 GB, free: 42.75 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005007/0.4994, allocations: 229 kB / 0.4904 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4995, allocations: 39.34 kB / 0.4904 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.5013, allocations: 0.5468 MB / 0.491 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.5014, allocations: 6.391 kB / 0.491 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.5014, allocations: 5.516 kB / 0.491 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.5014, allocations: 6.328 kB / 0.491 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.5026, allocations: 422.7 kB / 0.4914 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000135/0.5028, allocations: 36.7 kB / 0.4914 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.5031, allocations: 29.73 kB / 0.4915 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.5031, allocations: 1.125 kB / 0.4915 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/0.5032, allocations: 19.69 kB / 0.4915 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.5032, allocations: 2.047 kB / 0.4915 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5032, allocations: 0.7031 kB / 0.4915 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.5052, allocations: 0.7053 MB / 0.4922 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.5055, allocations: 127.2 kB / 0.4923 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.5056, allocations: 6.422 kB / 0.4923 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.506, allocations: 10.09 kB / 0.4923 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.5062, allocations: 24.34 kB / 0.4923 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/0.5062, allocations: 21.5 kB / 0.4924 GB, free: 42.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008556/0.5071, allocations: 398.9 kB / 0.4927 GB, free: 42.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5071, allocations: 1.031 kB / 0.4927 GB, free: 42.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008929/0.508, allocations: 153.2 kB / 0.4929 GB, free: 42.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002544/0.5106, allocations: 1.297 MB / 0.4941 GB, free: 41.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.512, allocations: 0.6716 MB / 0.4948 GB, free: 40.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5121, allocations: 1.344 kB / 0.4948 GB, free: 40.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006669/0.5128, allocations: 487.3 kB / 0.4953 GB, free: 40.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007879/0.5136, allocations: 92.42 kB / 0.4954 GB, free: 40.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00834/0.5219, allocations: 5.255 MB / 0.5005 GB, free: 37.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.5224, allocations: 0.8822 MB / 0.5014 GB, free: 36.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.5227, allocations: 141.4 kB / 0.5015 GB, free: 36.94 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5227, allocations: 0 / 0.5015 GB, free: 36.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.807/3.33, allocations: 10.44 MB / 0.5117 GB, free: 36.14 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat