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_overall.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_overall,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 95.34 kB / 15.68 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.001501/0.001501, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.608/1.608, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4011/0.4011, allocations: 43.56 MB / 314.5 MB, free: 9.004 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.0005058/0.0005059, allocations: 16 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1453, allocations: 58.85 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002856/0.1482, allocations: 1.838 MB / 444.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.1513, allocations: 1.821 MB / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.234e-05/0.1514, allocations: 0 / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1516, allocations: 63.72 kB / 446.6 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1518, allocations: 79.72 kB / 446.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008312/0.1527, allocations: 355 kB / 447 MB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.1531, allocations: 355.2 kB / 447.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1532, allocations: 72.97 kB / 447.4 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.1534, allocations: 155.3 kB / 447.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.1536, allocations: 187.1 kB / 447.8 MB, free: 8.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1537, allocations: 8 kB / 447.8 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.1547, allocations: 0.6592 MB / 448.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.1548, allocations: 95.58 kB / 448.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1549, allocations: 93.45 kB / 448.6 MB, free: 7.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006601/0.1556, allocations: 0.495 MB / 449.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1556, allocations: 0 / 449.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1556, allocations: 0 / 449.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1557, allocations: 4 kB / 449.1 MB, free: 6.895 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00125/0.1569, allocations: 0.772 MB / 449.9 MB, free: 6.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.157, allocations: 12.02 kB / 449.9 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.1571, allocations: 106.5 kB / 450 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.1572, allocations: 55.3 kB / 450.1 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.1577, allocations: 310.3 kB / 450.4 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.1578, allocations: 41.31 kB / 450.4 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.1578, allocations: 52 kB / 450.4 MB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.159, allocations: 0.7658 MB / 451.2 MB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.159, allocations: 0 / 451.2 MB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.1591, allocations: 20 kB / 451.2 MB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/0.1591, allocations: 41.23 kB / 451.3 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1601, allocations: 0.571 MB / 451.8 MB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.1625, allocations: 1.704 MB / 453.5 MB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.1631, allocations: 315.5 kB / 453.9 MB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.1632, allocations: 4 kB / 453.9 MB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1632, allocations: 38.56 kB / 453.9 MB, free: 1.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/0.1632, allocations: 4 kB / 453.9 MB, free: 1.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001479/0.1647, allocations: 0.7618 MB / 454.7 MB, free: 1.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.1649, allocations: 114.9 kB / 454.8 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000819/0.1657, allocations: 0.6314 MB / 455.4 MB, free: 288 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.1657, allocations: 25.7 kB / 455.4 MB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.28/0.4457, allocations: 292.4 kB / 455.7 MB, free: 46.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.4459, allocations: 68.45 kB / 455.8 MB, free: 46.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.446, allocations: 9.875 kB / 455.8 MB, free: 46.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4462, allocations: 361.9 kB / 456.1 MB, free: 46.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004841/0.4466, allocations: 204.3 kB / 456.3 MB, free: 46.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.4471, allocations: 472.4 kB / 456.8 MB, free: 45.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.4476, allocations: 284.4 kB / 457.1 MB, free: 45.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.4476, allocations: 2.594 kB / 457.1 MB, free: 45.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001243/0.4489, allocations: 0.7113 MB / 457.8 MB, free: 45.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.4489, allocations: 8.969 kB / 457.8 MB, free: 45.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.693e-05/0.449, allocations: 47.38 kB / 457.9 MB, free: 45.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/0.449, allocations: 18.28 kB / 457.9 MB, free: 45.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.4493, allocations: 77.73 kB / 457.9 MB, free: 45.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.4494, allocations: 18.86 kB / 458 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.4499, allocations: 111.7 kB / 458.1 MB, free: 45.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.4499, allocations: 34.12 kB / 458.1 MB, free: 45.59 MB / 382.1 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.0003131/0.4502, allocations: 255.2 kB / 458.4 MB, free: 45.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.549e-05/0.4504, allocations: 44.2 kB / 458.4 MB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009665/0.4513, allocations: 0.4937 MB / 458.9 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4513, allocations: 5.344 kB / 458.9 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.4514, allocations: 0 / 458.9 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4514, allocations: 2.469 kB / 458.9 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.4519, allocations: 411.9 kB / 459.3 MB, free: 45.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.303e-05/0.452, allocations: 43.52 kB / 459.3 MB, free: 45.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.4522, allocations: 31.75 kB / 459.4 MB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.257e-06/0.4522, allocations: 3.438 kB / 459.4 MB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.4522, allocations: 14.89 kB / 459.4 MB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4522, allocations: 1.641 kB / 459.4 MB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4522, allocations: 3.656 kB / 459.4 MB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.453, allocations: 0.6676 MB / 460.1 MB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.4532, allocations: 124.4 kB / 460.2 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.4532, allocations: 6.766 kB / 460.2 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.4535, allocations: 24.95 kB / 460.2 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.4536, allocations: 24.52 kB / 460.2 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.4537, allocations: 13.09 kB / 460.3 MB, free: 44.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004746/0.4541, allocations: 444.7 kB / 460.7 MB, free: 44.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4542, allocations: 0 / 460.7 MB, free: 44.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008608/0.455, allocations: 187.7 kB / 460.9 MB, free: 44.57 MB / 382.1 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.001656/0.4567, allocations: 1.473 MB / 462.3 MB, free: 43.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.4578, allocations: 0.7759 MB / 463.1 MB, free: 43.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4578, allocations: 0 / 463.1 MB, free: 43.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.4583, allocations: 498.7 kB / 463.6 MB, free: 42.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.459, allocations: 115.6 kB / 463.7 MB, free: 42.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.4655, allocations: 9.741 MB / 473.5 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.4659, allocations: 0.8998 MB / 474.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004395/0.4664, allocations: 132.8 kB / 474.5 MB, free: 34.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.4666, allocations: 140.8 kB / 474.6 MB, free: 34.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4666, allocations: 0 / 474.6 MB, free: 34.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03564/0.5022, allocations: 14.42 MB / 489 MB, free: 33.4 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.5025, allocations: 227.7 kB / 489.3 MB, free: 33.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/2.754, allocations: 1 kB / 489.3 MB, free: 33.16 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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_overall_res.mat does not exist to compare? outputFormat=mat