Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_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_3_2_3_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.001113/0.001113, allocations: 97.06 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 174 kB / 16.56 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.417/0.417, allocations: 43.55 MB / 314.5 MB, free: 9.039 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 20 kB / 384 MB, free: 8.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1669, allocations: 58.85 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.002434/0.1694, allocations: 1.717 MB / 444.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1708, allocations: 0.8235 MB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.1709, allocations: 0 / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.1711, allocations: 51.78 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1715, allocations: 99.62 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1717, allocations: 83.84 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.1721, allocations: 295.3 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1722, allocations: 56.62 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.1724, allocations: 135.4 kB / 446.1 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.1726, allocations: 163.3 kB / 446.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.1727, allocations: 12 kB / 446.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.1731, allocations: 247.7 kB / 446.5 MB, free: 9.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1733, allocations: 107.6 kB / 446.6 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1734, allocations: 89.45 kB / 446.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.1738, allocations: 327.2 kB / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1738, allocations: 0 / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1738, allocations: 0 / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1739, allocations: 0 / 447 MB, free: 8.973 MB / 382.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.001085/0.1749, allocations: 0.6471 MB / 447.7 MB, free: 8.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.175, allocations: 16.03 kB / 447.7 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.1751, allocations: 94.52 kB / 447.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.671e-05/0.1752, allocations: 47.39 kB / 447.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.1757, allocations: 286.4 kB / 448.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.1757, allocations: 29 kB / 448.2 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.1758, allocations: 47.97 kB / 448.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.1768, allocations: 0.6601 MB / 448.9 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1768, allocations: 0 / 448.9 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.1769, allocations: 27.94 kB / 448.9 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-05/0.177, allocations: 49.28 kB / 448.9 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.1781, allocations: 0.6999 MB / 449.6 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.1802, allocations: 1.372 MB / 451 MB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.181, allocations: 456.5 kB / 451.5 MB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.181, allocations: 8.219 kB / 451.5 MB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.1811, allocations: 46.67 kB / 451.5 MB, free: 4.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.1811, allocations: 3.938 kB / 451.5 MB, free: 4.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001142/0.1822, allocations: 0.5452 MB / 452.1 MB, free: 3.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.1823, allocations: 55.41 kB / 452.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.1828, allocations: 489.5 kB / 452.6 MB, free: 3.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1829, allocations: 29.7 kB / 452.6 MB, free: 3.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.1831, allocations: 220.4 kB / 452.8 MB, free: 2.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.1832, allocations: 98.55 kB / 452.9 MB, free: 2.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.1832, allocations: 8 kB / 452.9 MB, free: 2.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1833, allocations: 350.8 kB / 453.3 MB, free: 2.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.1837, allocations: 160.5 kB / 453.4 MB, free: 2.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.184, allocations: 256.2 kB / 453.7 MB, free: 2.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.1844, allocations: 196 kB / 453.9 MB, free: 1.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1844, allocations: 4 kB / 453.9 MB, free: 1.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008423/0.1852, allocations: 0.4889 MB / 454.4 MB, free: 1.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1853, allocations: 7.953 kB / 454.4 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1853, allocations: 4 kB / 454.4 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1853, allocations: 4 kB / 454.4 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009467/0.1863, allocations: 211.7 kB / 454.6 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2644/0.4507, allocations: 7.285 MB / 461.9 MB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.4512, allocations: 66.55 kB / 461.9 MB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.4512, allocations: 22.56 kB / 462 MB, free: 39.88 MB / 382.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.0003022/0.4515, allocations: 223.8 kB / 462.2 MB, free: 39.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.4516, allocations: 46.11 kB / 462.2 MB, free: 39.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.4527, allocations: 0.5522 MB / 462.8 MB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4527, allocations: 2.812 kB / 462.8 MB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4527, allocations: 0 / 462.8 MB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4527, allocations: 2.297 kB / 462.8 MB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.4532, allocations: 414.3 kB / 463.2 MB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4532, allocations: 0 / 463.2 MB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008123/0.454, allocations: 195.3 kB / 463.4 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.454, allocations: 0 / 463.4 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.4541, allocations: 15.2 kB / 463.4 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.4563, allocations: 7.29 MB / 470.7 MB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4564, allocations: 2.969 kB / 470.7 MB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.457, allocations: 0.5111 MB / 471.2 MB, free: 32.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4571, allocations: 118.8 kB / 471.3 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.4572, allocations: 9.469 kB / 471.3 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.4575, allocations: 12.12 kB / 471.3 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.4575, allocations: 21.7 kB / 471.4 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.4576, allocations: 17.03 kB / 471.4 MB, free: 32.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000327/0.4579, allocations: 350.2 kB / 471.7 MB, free: 32.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4579, allocations: 6.156 kB / 471.7 MB, free: 32.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005281/0.4584, allocations: 128.8 kB / 471.8 MB, free: 32.11 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.001112/0.4596, allocations: 1.08 MB / 472.9 MB, free: 31.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.461, allocations: 0.5299 MB / 473.5 MB, free: 31.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.461, allocations: 0 / 473.5 MB, free: 31.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.4622, allocations: 356.4 kB / 473.8 MB, free: 31.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.4627, allocations: 99.41 kB / 473.9 MB, free: 31.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.4667, allocations: 4.801 MB / 478.7 MB, free: 28.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.467, allocations: 0.8928 MB / 479.6 MB, free: 28.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003821/0.4674, allocations: 137.3 kB / 479.7 MB, free: 28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.4676, allocations: 135.2 kB / 479.9 MB, free: 27.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4676, allocations: 0 / 479.9 MB, free: 27.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.4995, allocations: 12.19 MB / 492.1 MB, free: 26.99 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.4997, allocations: 250.7 kB / 492.3 MB, free: 26.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/2.778, allocations: 0 / 492.3 MB, free: 26.66 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat