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_overall.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_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.002492/0.002498, allocations: 186.7 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.119/2.119, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001139/0.001139, allocations: 98.84 kB / 270.9 MB, free: 13.28 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.3726/0.3726, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004753, allocations: 12 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 58.85 MB / 490.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003475/0.14, allocations: 1.834 MB / 492.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.1443, allocations: 1.821 MB / 494 MB, free: 5.539 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.1446, allocations: 0 / 494 MB, free: 5.539 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.1449, allocations: 51.73 kB / 494 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.1453, allocations: 83.7 kB / 494.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.1469, allocations: 363 kB / 494.5 MB, free: 5.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006825/0.1476, allocations: 359.2 kB / 494.8 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.1478, allocations: 65.05 kB / 494.9 MB, free: 4.633 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.1481, allocations: 155.3 kB / 495 MB, free: 4.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.1484, allocations: 175.2 kB / 495.2 MB, free: 4.309 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.1485, allocations: 12 kB / 495.2 MB, free: 4.297 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.1502, allocations: 0.6592 MB / 495.9 MB, free: 3.637 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.1504, allocations: 95.64 kB / 496 MB, free: 3.543 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.1506, allocations: 97.39 kB / 496.1 MB, free: 3.441 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.1517, allocations: 0.503 MB / 496.6 MB, free: 2.938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1517, allocations: 0 / 496.6 MB, free: 2.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1518, allocations: 0 / 496.6 MB, free: 2.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1518, allocations: 0 / 496.6 MB, free: 2.938 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001819/0.1536, allocations: 0.7643 MB / 497.3 MB, free: 2.125 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1537, allocations: 8.031 kB / 497.3 MB, free: 2.117 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.1538, allocations: 102.5 kB / 497.4 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.154, allocations: 55.3 kB / 497.5 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.1546, allocations: 322.1 kB / 497.8 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.1547, allocations: 49.25 kB / 497.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.1548, allocations: 52 kB / 497.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.1568, allocations: 0.7697 MB / 498.7 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.1568, allocations: 0 / 498.7 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.1569, allocations: 24 kB / 498.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.77e-05/0.157, allocations: 25.31 kB / 498.7 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.1588, allocations: 0.571 MB / 499.3 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.1627, allocations: 1.7 MB / 0.4893 GB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.1638, allocations: 315.5 kB / 0.4896 GB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.341e-05/0.1638, allocations: 15.98 kB / 0.4896 GB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.1639, allocations: 34.56 kB / 0.4896 GB, free: 13.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 4.429e-06/0.1639, allocations: 3.938 kB / 0.4896 GB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.002504/0.1664, allocations: 0.7684 MB / 0.4904 GB, free: 13.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.1665, allocations: 110.8 kB / 0.4905 GB, free: 12.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.1678, allocations: 0.6315 MB / 0.4911 GB, free: 12.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.1678, allocations: 25.7 kB / 0.4911 GB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.1682, allocations: 329.8 kB / 0.4914 GB, free: 11.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1683, allocations: 74.98 kB / 0.4915 GB, free: 11.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.1683, allocations: 12.03 kB / 0.4915 GB, free: 11.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1685, allocations: 330.8 kB / 0.4918 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007727/0.1693, allocations: 200.9 kB / 0.492 GB, free: 11.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.1704, allocations: 477.4 kB / 0.4925 GB, free: 10.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000947/0.1713, allocations: 279.7 kB / 0.4927 GB, free: 10.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.1714, allocations: 4 kB / 0.4927 GB, free: 10.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002275/0.1736, allocations: 0.68 MB / 0.4934 GB, free: 9.805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.1737, allocations: 12 kB / 0.4934 GB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/0.1739, allocations: 43.97 kB / 0.4935 GB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.634e-05/0.1739, allocations: 16 kB / 0.4935 GB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.1745, allocations: 79.81 kB / 0.4936 GB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.215e-05/0.1745, allocations: 23.88 kB / 0.4936 GB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008088/0.1753, allocations: 111 kB / 0.4937 GB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.665e-05/0.1755, allocations: 36 kB / 0.4937 GB, free: 9.488 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * 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.0006145/0.1761, allocations: 257 kB / 0.494 GB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.1763, allocations: 47.44 kB / 0.494 GB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.1781, allocations: 485.5 kB / 0.4945 GB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.1782, allocations: 8 kB / 0.4945 GB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.1782, allocations: 0 / 0.4945 GB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.1782, allocations: 3.953 kB / 0.4945 GB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.1793, allocations: 413.2 kB / 0.4949 GB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001308/0.1795, allocations: 35.97 kB / 0.4949 GB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.1799, allocations: 35.91 kB / 0.4949 GB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.1799, allocations: 4 kB / 0.4949 GB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.18, allocations: 15.98 kB / 0.495 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.18, allocations: 0 / 0.495 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.18, allocations: 4 kB / 0.495 GB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.1818, allocations: 0.6612 MB / 0.4956 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.182, allocations: 128.4 kB / 0.4957 GB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.1822, allocations: 15.92 kB / 0.4957 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.1828, allocations: 19.98 kB / 0.4958 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.1829, allocations: 23.97 kB / 0.4958 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.183, allocations: 19.98 kB / 0.4958 GB, free: 7.227 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009101/0.1839, allocations: 442.8 kB / 0.4962 GB, free: 6.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.184, allocations: 0 / 0.4962 GB, free: 6.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001262/0.1852, allocations: 187.9 kB / 0.4964 GB, free: 6.613 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.002853/0.1881, allocations: 1.475 MB / 0.4979 GB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.1904, allocations: 0.775 MB / 0.4986 GB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.1904, allocations: 3.938 kB / 0.4986 GB, free: 4.254 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009654/0.1914, allocations: 492.8 kB / 0.4991 GB, free: 3.699 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009777/0.1924, allocations: 114.3 kB / 0.4992 GB, free: 3.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.2056, allocations: 9.756 MB / 0.5087 GB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/0.2064, allocations: 0.8974 MB / 0.5096 GB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.2067, allocations: 143.4 kB / 0.5097 GB, free: 8.516 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2068, allocations: 0 / 0.5097 GB, free: 8.516 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.172/3.379, allocations: 12.28 MB / 0.5217 GB, free: 41.64 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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_overall_res.mat does not exist to compare? outputFormat=mat