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_laminar.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_laminar,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 96.31 kB / 16.99 MB, free: 6.402 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.001293/0.001293, allocations: 179.1 kB / 17.88 MB, free: 5.957 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.378/1.378, allocations: 223.2 MB / 241.8 MB, free: 408 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2287/0.2287, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.000311, allocations: 12.48 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 61.93 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002937/0.1221, allocations: 1.779 MB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1243, allocations: 0.9943 MB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.1244, allocations: 0 / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1247, allocations: 51.73 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.1249, allocations: 79.72 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.1254, allocations: 139.7 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.1259, allocations: 339.1 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.1261, allocations: 57.03 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.1264, allocations: 147.4 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.1267, allocations: 175.2 kB / 475.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.1268, allocations: 12 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.1274, allocations: 315.6 kB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1275, allocations: 91.69 kB / 475.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1277, allocations: 93.44 kB / 475.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.1281, allocations: 359.3 kB / 476.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1281, allocations: 0 / 476.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1281, allocations: 0 / 476.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1281, allocations: 0 / 476.2 MB, free: 9.008 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001126/0.1293, allocations: 0.6939 MB / 476.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1293, allocations: 12.56 kB / 476.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.1294, allocations: 94.52 kB / 477 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.1295, allocations: 43.44 kB / 477 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.1299, allocations: 294.3 kB / 477.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.13, allocations: 33 kB / 477.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.13, allocations: 47.95 kB / 477.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1311, allocations: 0.6636 MB / 478 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1311, allocations: 0 / 478 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.1311, allocations: 20 kB / 478.1 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.1312, allocations: 24.98 kB / 478.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.1321, allocations: 0.4995 MB / 478.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.1341, allocations: 1.535 MB / 480.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.1347, allocations: 319.4 kB / 480.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.1348, allocations: 19.94 kB / 480.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.1349, allocations: 30.56 kB / 480.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/0.1349, allocations: 0 / 480.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001528/0.1364, allocations: 0.7563 MB / 481.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.1365, allocations: 106.8 kB / 481.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.1371, allocations: 0.5448 MB / 481.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.1371, allocations: 25.7 kB / 481.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1373, allocations: 227.9 kB / 482.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.1373, allocations: 67.02 kB / 482.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.1374, allocations: 8 kB / 482.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1375, allocations: 354.8 kB / 482.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.1379, allocations: 168.1 kB / 482.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.1383, allocations: 283.8 kB / 483 MB, free: 1.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.1387, allocations: 203.8 kB / 483.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1387, allocations: 4 kB / 483.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009866/0.1397, allocations: 0.516 MB / 483.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1397, allocations: 9.875 kB / 483.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-05/0.1398, allocations: 35.97 kB / 483.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1398, allocations: 8.5 kB / 483.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.1401, allocations: 55.89 kB / 483.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.1401, allocations: 7.938 kB / 483.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.1404, allocations: 83.19 kB / 483.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.1404, allocations: 16 kB / 483.9 MB, free: 0.8594 MB / 350.1 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.0002336/0.1407, allocations: 221.6 kB / 484.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.1408, allocations: 47.39 kB / 484.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008231/0.1416, allocations: 460.9 kB / 484.6 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.1416, allocations: 4 kB / 484.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1416, allocations: 3.938 kB / 484.6 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1417, allocations: 0 / 484.6 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.1422, allocations: 389.2 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.945e-05/0.1423, allocations: 39.97 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.1424, allocations: 27.97 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1424, allocations: 7.938 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.1425, allocations: 15.94 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.1425, allocations: 4 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1425, allocations: 0 / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/0.1434, allocations: 0.6496 MB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1436, allocations: 128.5 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.1436, allocations: 0 / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.1439, allocations: 27.97 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.144, allocations: 27.92 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.1441, allocations: 19.94 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004281/0.1445, allocations: 391 kB / 486.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1445, allocations: 0 / 486.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005358/0.145, allocations: 131.9 kB / 486.5 MB, free: 14.18 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.001405/0.1464, allocations: 1.382 MB / 487.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009797/0.1474, allocations: 0.6875 MB / 488.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1475, allocations: 0.875 kB / 488.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.148, allocations: 0.4885 MB / 489 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.1485, allocations: 105.9 kB / 489.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.1543, allocations: 5.651 MB / 494.8 MB, free: 5.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.1549, allocations: 0.8779 MB / 495.7 MB, free: 4.648 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002716/0.1552, allocations: 83.34 kB / 495.7 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.1554, allocations: 115.4 kB / 495.9 MB, free: 4.453 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1554, allocations: 3.938 kB / 495.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.1804, allocations: 11.82 MB / 0.4958 GB, free: 8.914 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.1807, allocations: 223 kB / 0.496 GB, free: 8.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.23, allocations: 6.672 kB / 0.496 GB, free: 8.672 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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_laminar_res.mat does not exist to compare? outputFormat=mat