Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.0009356/0.0009356, allocations: 95.06 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009629/0.0009627, allocations: 186.4 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.229/0.229, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.121, allocations: 61.93 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002333/0.1234, allocations: 1.829 MB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.126, allocations: 1.774 MB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.1261, allocations: 0 / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1264, allocations: 71.64 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.1266, allocations: 75.72 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008857/0.1275, allocations: 354.2 kB / 475.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.1279, allocations: 355 kB / 476 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1281, allocations: 77.02 kB / 476.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.1283, allocations: 151.3 kB / 476.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.1285, allocations: 187.1 kB / 476.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.1286, allocations: 12 kB / 476.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000954/0.1295, allocations: 0.6553 MB / 477.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.1296, allocations: 91.64 kB / 477.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.1297, allocations: 93.45 kB / 477.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005775/0.1303, allocations: 0.499 MB / 477.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1303, allocations: 0 / 477.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1303, allocations: 7.938 kB / 477.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1304, allocations: 0 / 477.8 MB, free: 7.375 MB / 350.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.001181/0.1315, allocations: 0.7644 MB / 478.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1316, allocations: 8.562 kB / 478.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.1317, allocations: 110.4 kB / 478.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.1318, allocations: 59.25 kB / 478.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.1322, allocations: 306.2 kB / 479 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.1323, allocations: 45.31 kB / 479 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.1324, allocations: 55.95 kB / 479.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1335, allocations: 0.7696 MB / 479.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1336, allocations: 0 / 479.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.1336, allocations: 20 kB / 479.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/0.1337, allocations: 33.3 kB / 479.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.1347, allocations: 0.571 MB / 480.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.137, allocations: 1.692 MB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.1376, allocations: 314.9 kB / 482.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.303e-05/0.1377, allocations: 20.06 kB / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1377, allocations: 38.5 kB / 482.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.1377, allocations: 4 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001452/0.1392, allocations: 0.7619 MB / 483.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.1392, allocations: 114.8 kB / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.14, allocations: 0.6352 MB / 484.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.14, allocations: 29.7 kB / 484.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.1402, allocations: 291.4 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.1403, allocations: 71 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.1403, allocations: 8 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1405, allocations: 362.8 kB / 484.8 MB, free: 0 / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.1409, allocations: 205 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.1415, allocations: 469.4 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.142, allocations: 285.6 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.142, allocations: 4 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001284/0.1433, allocations: 0.6996 MB / 486.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.1434, allocations: 8 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.751e-05/0.1434, allocations: 51.95 kB / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.1435, allocations: 12.56 kB / 486.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.1438, allocations: 83.83 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.1438, allocations: 19.92 kB / 486.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.1443, allocations: 103 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.1443, allocations: 39.98 kB / 486.8 MB, free: 13.91 MB / 366.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.0002827/0.1446, allocations: 261.4 kB / 487 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.1448, allocations: 51.44 kB / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009328/0.1457, allocations: 487.5 kB / 487.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.1457, allocations: 4 kB / 487.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1457, allocations: 4 kB / 487.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.1457, allocations: 7.984 kB / 487.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.1464, allocations: 413.1 kB / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.635e-05/0.1465, allocations: 43.91 kB / 488 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.1466, allocations: 27.97 kB / 488 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.1466, allocations: 4 kB / 488 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.1467, allocations: 12 kB / 488 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1467, allocations: 3.938 kB / 488 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1467, allocations: 4 kB / 488.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008876/0.1476, allocations: 0.6534 MB / 488.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.1477, allocations: 132.5 kB / 488.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.1478, allocations: 15.95 kB / 488.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.1481, allocations: 23.98 kB / 488.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.1482, allocations: 23.91 kB / 488.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.1482, allocations: 15.98 kB / 488.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004912/0.1487, allocations: 446.7 kB / 489.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1487, allocations: 0 / 489.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008121/0.1496, allocations: 187.8 kB / 489.5 MB, free: 11.02 MB / 366.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.001614/0.1512, allocations: 1.467 MB / 491 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.1523, allocations: 0.7716 MB / 491.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1523, allocations: 0 / 491.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.1529, allocations: 492.2 kB / 492.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.1534, allocations: 118.3 kB / 492.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0072/0.1606, allocations: 9.742 MB / 0.4903 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.1611, allocations: 0.9013 MB / 0.4912 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003411/0.1615, allocations: 132.5 kB / 0.4913 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.1616, allocations: 143.4 kB / 0.4915 GB, free: 12.81 MB / 382.1 MB Notification: Performance of SimCode: time 1.864e-06/0.1616, allocations: 0 / 0.4915 GB, free: 12.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2704/0.432, allocations: 14.4 MB / 0.5055 GB, free: 48.33 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.4322, allocations: 219.1 kB / 0.5058 GB, free: 48.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.091/2.524, allocations: 3.094 kB / 0.5058 GB, free: 48.09 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat