Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.002504/0.002504, allocations: 189.5 kB / 16.4 MB, free: 5.625 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.183/2.183, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001133/0.001133, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2906/0.2906, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006422/0.0006422, allocations: 16 kB / 431.5 MB, free: 20.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.125, allocations: 58.85 MB / 490.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003328/0.1283, allocations: 1.783 MB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.131, allocations: 1.03 MB / 493.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.1313, allocations: 0 / 493.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.1316, allocations: 51.67 kB / 493.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.132, allocations: 83.72 kB / 493.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.1328, allocations: 135.7 kB / 493.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006948/0.1335, allocations: 339.2 kB / 493.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.1337, allocations: 57.05 kB / 493.8 MB, free: 5.715 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003371/0.134, allocations: 143.4 kB / 494 MB, free: 5.574 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.1344, allocations: 175.2 kB / 494.1 MB, free: 5.402 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.1344, allocations: 8 kB / 494.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008494/0.1353, allocations: 323.6 kB / 494.4 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.1355, allocations: 87.69 kB / 494.5 MB, free: 4.992 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.1357, allocations: 89.45 kB / 494.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008083/0.1365, allocations: 367.3 kB / 495 MB, free: 4.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1366, allocations: 0 / 495 MB, free: 4.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1366, allocations: 0 / 495 MB, free: 4.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1366, allocations: 0 / 495 MB, free: 4.539 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001794/0.1384, allocations: 0.694 MB / 495.7 MB, free: 3.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.1385, allocations: 8.031 kB / 495.7 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.1387, allocations: 90.52 kB / 495.8 MB, free: 3.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.1388, allocations: 51.39 kB / 495.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.1394, allocations: 302.3 kB / 496.1 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.1395, allocations: 33 kB / 496.1 MB, free: 3.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.1396, allocations: 44 kB / 496.2 MB, free: 3.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.1415, allocations: 0.6597 MB / 496.9 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.1416, allocations: 0 / 496.9 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/0.1417, allocations: 20 kB / 496.9 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-05/0.1417, allocations: 28.98 kB / 496.9 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.1435, allocations: 0.4956 MB / 497.4 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/0.1471, allocations: 1.531 MB / 498.9 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.1483, allocations: 315.5 kB / 499.2 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.443e-05/0.1485, allocations: 19.91 kB / 499.3 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1485, allocations: 34.56 kB / 499.3 MB, free: 12 kB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 3.537e-06/0.1485, allocations: 0 / 499.3 MB, free: 12 kB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.002462/0.151, allocations: 0.7607 MB / 0.4883 GB, free: 15.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.1511, allocations: 106.8 kB / 0.4884 GB, free: 15.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.1522, allocations: 0.5446 MB / 0.489 GB, free: 14.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/0.1523, allocations: 29.7 kB / 0.489 GB, free: 14.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.1525, allocations: 266.4 kB / 0.4892 GB, free: 14.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.828e-05/0.1526, allocations: 67 kB / 0.4893 GB, free: 14.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1527, allocations: 8 kB / 0.4893 GB, free: 14.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1529, allocations: 326.8 kB / 0.4896 GB, free: 13.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/0.1536, allocations: 168.1 kB / 0.4898 GB, free: 13.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007729/0.1544, allocations: 279.8 kB / 0.4901 GB, free: 13.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007787/0.1552, allocations: 199.8 kB / 0.4902 GB, free: 13.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1552, allocations: 0 / 0.4902 GB, free: 13.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001833/0.1571, allocations: 0.496 MB / 0.4907 GB, free: 12.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1571, allocations: 4 kB / 0.4907 GB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/0.1572, allocations: 43.95 kB / 0.4908 GB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.1573, allocations: 4 kB / 0.4908 GB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.1577, allocations: 52.16 kB / 0.4908 GB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.1577, allocations: 11.94 kB / 0.4908 GB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/0.1583, allocations: 75.25 kB / 0.4909 GB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/0.1584, allocations: 31.94 kB / 0.4909 GB, free: 12.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * 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.0003742/0.1588, allocations: 213.5 kB / 0.4911 GB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.159, allocations: 47.44 kB / 0.4912 GB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.1605, allocations: 457 kB / 0.4916 GB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.1606, allocations: 4 kB / 0.4916 GB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1606, allocations: 4 kB / 0.4916 GB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1606, allocations: 4 kB / 0.4916 GB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.1615, allocations: 397.2 kB / 0.492 GB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001118/0.1617, allocations: 31.97 kB / 0.492 GB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.162, allocations: 27.97 kB / 0.4921 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.162, allocations: 4 kB / 0.4921 GB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/0.162, allocations: 11.98 kB / 0.4921 GB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1621, allocations: 4 kB / 0.4921 GB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1621, allocations: 0 / 0.4921 GB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.1637, allocations: 0.6572 MB / 0.4927 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.1639, allocations: 128.5 kB / 0.4929 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.164, allocations: 11.98 kB / 0.4929 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.1646, allocations: 19.98 kB / 0.4929 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.1647, allocations: 23.97 kB / 0.4929 GB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.1648, allocations: 15.92 kB / 0.4929 GB, free: 10.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007086/0.1655, allocations: 395 kB / 0.4933 GB, free: 9.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1655, allocations: 4 kB / 0.4933 GB, free: 9.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008288/0.1663, allocations: 131.9 kB / 0.4934 GB, free: 9.738 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * 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.002331/0.1687, allocations: 1.378 MB / 0.4948 GB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.1705, allocations: 0.6907 MB / 0.4955 GB, free: 7.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1705, allocations: 0 / 0.4955 GB, free: 7.562 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008994/0.1714, allocations: 492.8 kB / 0.4959 GB, free: 7.008 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009359/0.1724, allocations: 113.9 kB / 0.496 GB, free: 6.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009458/0.1818, allocations: 5.666 MB / 0.5016 GB, free: 1.082 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.1825, allocations: 0.8659 MB / 0.5024 GB, free: 196 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.1828, allocations: 123.4 kB / 0.5025 GB, free: 72 kB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1828, allocations: 0 / 0.5025 GB, free: 72 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.663/2.846, allocations: 10.21 MB / 0.5125 GB, free: 5.867 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat