Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 92.66 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009023/0.0009024, allocations: 185.8 kB / 17.87 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2191/0.2191, allocations: 44.22 MB / 337.1 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1294, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.002557/0.132, allocations: 1.708 MB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1339, allocations: 0.7837 MB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.1341, allocations: 0 / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.1344, allocations: 51.67 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.1348, allocations: 99.73 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1351, allocations: 86.7 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.1356, allocations: 287.3 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1357, allocations: 52.7 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.136, allocations: 131.4 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.1364, allocations: 167.2 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.1364, allocations: 8 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.1369, allocations: 263.6 kB / 475.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.1372, allocations: 87.72 kB / 475.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1373, allocations: 93.45 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.1379, allocations: 335.4 kB / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.138, allocations: 0 / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.138, allocations: 0 / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.138, allocations: 0 / 475.7 MB, free: 9.484 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00135/0.1393, allocations: 0.6433 MB / 476.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.1394, allocations: 8.031 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.1395, allocations: 94.52 kB / 476.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.1397, allocations: 43.44 kB / 476.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.1402, allocations: 298.2 kB / 476.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/0.1403, allocations: 36.95 kB / 476.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.1404, allocations: 43.98 kB / 476.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.142, allocations: 0.6562 MB / 477.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.142, allocations: 3.984 kB / 477.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/0.1421, allocations: 19.98 kB / 477.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.1422, allocations: 53.27 kB / 477.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.1437, allocations: 0.6999 MB / 478.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.1468, allocations: 1.372 MB / 479.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.1481, allocations: 456.4 kB / 480.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.316e-05/0.1482, allocations: 20.2 kB / 480.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.1482, allocations: 34.8 kB / 480.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.687e-06/0.1482, allocations: 0 / 480.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001624/0.1498, allocations: 0.5375 MB / 480.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.1499, allocations: 67.28 kB / 480.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008352/0.1508, allocations: 493.4 kB / 481.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.1508, allocations: 29.7 kB / 481.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.1511, allocations: 216.4 kB / 481.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.1512, allocations: 94.59 kB / 481.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.1513, allocations: 8 kB / 481.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003705/0.1516, allocations: 358.8 kB / 481.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/0.1521, allocations: 160.5 kB / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.1527, allocations: 248.3 kB / 482.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.1532, allocations: 196.7 kB / 482.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1532, allocations: 0 / 482.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00137/0.1546, allocations: 0.4928 MB / 483 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.1547, allocations: 8 kB / 483 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.1547, allocations: 4 kB / 483 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.1547, allocations: 4 kB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.1561, allocations: 199.8 kB / 483.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/0.1625, allocations: 7.31 MB / 490.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/0.1632, allocations: 63.56 kB / 490.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.1633, allocations: 23.98 kB / 490.6 MB, free: 10 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: 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005535/0.1639, allocations: 232.9 kB / 490.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.164, allocations: 39.53 kB / 490.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.1658, allocations: 0.5481 MB / 491.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.1659, allocations: 4 kB / 491.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1659, allocations: 0 / 491.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.1659, allocations: 7.922 kB / 491.4 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.167, allocations: 417.2 kB / 491.8 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.167, allocations: 0 / 491.8 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.1682, allocations: 191.8 kB / 492 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.1682, allocations: 0 / 492 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.1683, allocations: 15.98 kB / 492 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006787/0.1751, allocations: 7.298 MB / 499.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.1751, allocations: 0 / 499.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.1765, allocations: 0.4993 MB / 499.8 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.1768, allocations: 120.7 kB / 500 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.177, allocations: 12 kB / 500 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.1774, allocations: 11.98 kB / 500 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.1775, allocations: 19.97 kB / 0.4883 GB, free: 236 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.1776, allocations: 19.98 kB / 0.4883 GB, free: 216 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007157/0.1783, allocations: 347.1 kB / 0.4886 GB, free: 15.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.424e-06/0.1783, allocations: 0 / 0.4886 GB, free: 15.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008052/0.1792, allocations: 135.8 kB / 0.4888 GB, free: 15.74 MB / 382.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/0.1807, allocations: 1.083 MB / 0.4898 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.1825, allocations: 0.5352 MB / 0.4903 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1825, allocations: 0 / 0.4903 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.1836, allocations: 343.5 kB / 0.4907 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.1842, allocations: 105.4 kB / 0.4908 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.1906, allocations: 4.802 MB / 0.4955 GB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.1911, allocations: 0.8819 MB / 0.4963 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004368/0.1916, allocations: 140.1 kB / 0.4965 GB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.1918, allocations: 131.4 kB / 0.4966 GB, free: 7.574 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.1918, allocations: 0 / 0.4966 GB, free: 7.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.245/0.4368, allocations: 12.17 MB / 0.5085 GB, free: 49.83 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.437, allocations: 261.9 kB / 0.5087 GB, free: 49.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.666, allocations: 0 / 0.5087 GB, free: 49.5 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat