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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 188.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.154/2.154, 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.00113/0.00113, allocations: 82.89 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.3339/0.3339, allocations: 43.57 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006528/0.0006532, allocations: 15.98 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1329, allocations: 58.87 MB / 490.3 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003283/0.1363, allocations: 1.712 MB / 492.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1384, allocations: 0.8158 MB / 492.9 MB, free: 6.652 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1385, allocations: 4 kB / 492.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.1388, allocations: 51.73 kB / 492.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004887/0.1394, allocations: 107.6 kB / 493 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.1397, allocations: 79.91 kB / 493.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005269/0.1403, allocations: 291.3 kB / 493.4 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1404, allocations: 48.72 kB / 493.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.1407, allocations: 131.4 kB / 493.6 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.141, allocations: 163.3 kB / 493.7 MB, free: 5.793 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.975e-05/0.1411, allocations: 8 kB / 493.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006305/0.1417, allocations: 259.6 kB / 494 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.1419, allocations: 95.7 kB / 494.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.142, allocations: 93.39 kB / 494.2 MB, free: 5.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000614/0.1426, allocations: 331.4 kB / 494.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1427, allocations: 0 / 494.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1427, allocations: 0 / 494.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1427, allocations: 0 / 494.5 MB, free: 5.016 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001679/0.1444, allocations: 0.6434 MB / 495.1 MB, free: 4.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.429e-05/0.1445, allocations: 8.031 kB / 495.2 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.1447, allocations: 94.52 kB / 495.2 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.1449, allocations: 55.3 kB / 495.3 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.1455, allocations: 294.3 kB / 495.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.1455, allocations: 33 kB / 495.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.1456, allocations: 39.98 kB / 495.7 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.1474, allocations: 0.6601 MB / 496.3 MB, free: 3.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1474, allocations: 0 / 496.3 MB, free: 3.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.1475, allocations: 19.98 kB / 496.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.1476, allocations: 53.28 kB / 496.4 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.1496, allocations: 0.7115 MB / 497.1 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.1531, allocations: 1.379 MB / 498.5 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.1545, allocations: 448.5 kB / 498.9 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.407e-05/0.1546, allocations: 8.219 kB / 498.9 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.1546, allocations: 46.78 kB / 499 MB, free: 376 kB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 3.868e-06/0.1546, allocations: 0 / 499 MB, free: 376 kB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.002043/0.1567, allocations: 0.5484 MB / 499.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.1568, allocations: 55.41 kB / 499.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008972/0.1577, allocations: 493.4 kB / 0.4883 GB, free: 15.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.1578, allocations: 29.7 kB / 0.4884 GB, free: 15.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.158, allocations: 262.8 kB / 0.4886 GB, free: 14.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.1582, allocations: 94.59 kB / 0.4887 GB, free: 14.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1583, allocations: 4 kB / 0.4887 GB, free: 14.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1585, allocations: 330.8 kB / 0.489 GB, free: 14.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005818/0.159, allocations: 160.5 kB / 0.4892 GB, free: 14.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/0.1597, allocations: 248.2 kB / 0.4894 GB, free: 14.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.1604, allocations: 192.7 kB / 0.4896 GB, free: 13.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.1604, allocations: 3.984 kB / 0.4896 GB, free: 13.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001541/0.1619, allocations: 480.9 kB / 0.4901 GB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.162, allocations: 8 kB / 0.4901 GB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.162, allocations: 4 kB / 0.4901 GB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.162, allocations: 7.953 kB / 0.4901 GB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.1639, allocations: 200.1 kB / 0.4903 GB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.1695, allocations: 7.302 MB / 0.4974 GB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/0.1702, allocations: 67.55 kB / 0.4975 GB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.1703, allocations: 19.98 kB / 0.4975 GB, free: 5.543 MB / 346.7 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.0004284/0.1707, allocations: 221.6 kB / 0.4977 GB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1708, allocations: 43.52 kB / 0.4977 GB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.1727, allocations: 0.5481 MB / 0.4983 GB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.1727, allocations: 4 kB / 0.4983 GB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1728, allocations: 3.938 kB / 0.4983 GB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1728, allocations: 0 / 0.4983 GB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000887/0.1737, allocations: 413.3 kB / 0.4987 GB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1737, allocations: 3.938 kB / 0.4987 GB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/0.1755, allocations: 199.8 kB / 0.4989 GB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.1755, allocations: 0 / 0.4989 GB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.1756, allocations: 11.98 kB / 0.4989 GB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005618/0.1812, allocations: 7.298 MB / 0.506 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1812, allocations: 0 / 0.506 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.1827, allocations: 0.5038 MB / 0.5065 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.1829, allocations: 120.6 kB / 0.5066 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.183, allocations: 11.95 kB / 0.5066 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.1835, allocations: 15.92 kB / 0.5066 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.1837, allocations: 23.95 kB / 0.5067 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.1837, allocations: 19.98 kB / 0.5067 GB, free: 11.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000629/0.1844, allocations: 347.1 kB / 0.507 GB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1844, allocations: 0 / 0.507 GB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007424/0.1851, allocations: 127.8 kB / 0.5071 GB, free: 11.28 MB / 362.7 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.002029/0.1872, allocations: 1.087 MB / 0.5082 GB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002799/0.19, allocations: 0.5193 MB / 0.5087 GB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1901, allocations: 3.938 kB / 0.5087 GB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.1922, allocations: 351.9 kB / 0.509 GB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000823/0.1931, allocations: 113.4 kB / 0.5092 GB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008304/0.2014, allocations: 4.802 MB / 0.5138 GB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.2021, allocations: 0.8857 MB / 0.5147 GB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.2025, allocations: 138.5 kB / 0.5148 GB, free: 3.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2025, allocations: 0 / 0.5148 GB, free: 3.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.858/4.061, allocations: 28.61 MB / 0.5428 GB, free: 32.88 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.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_KC_res.mat does not exist to compare? outputFormat=mat