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.0008153/0.0008156, allocations: 92.11 kB / 17 MB, free: 6.355 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.0007847/0.0007848, allocations: 186.2 kB / 17.89 MB, free: 5.926 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.448/1.448, allocations: 223.2 MB / 241.9 MB, free: 352 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.229/0.229, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.000337, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002458/0.1366, allocations: 1.837 MB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1382, allocations: 1.029 MB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1383, allocations: 0 / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.1386, allocations: 47.73 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.1388, allocations: 99.42 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.1393, allocations: 143.2 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005715/0.1399, allocations: 0.5327 MB / 475.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.14, allocations: 57.05 kB / 475.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.1402, allocations: 163.2 kB / 475.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.1405, allocations: 199.1 kB / 475.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.1405, allocations: 16 kB / 475.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.141, allocations: 299.5 kB / 476.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1411, allocations: 103.5 kB / 476.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.1412, allocations: 89.45 kB / 476.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.1417, allocations: 395.2 kB / 476.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1417, allocations: 4 kB / 476.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1417, allocations: 0 / 476.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1417, allocations: 0 / 476.7 MB, free: 8.605 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.00115/0.1429, allocations: 0.6922 MB / 477.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1429, allocations: 8.562 kB / 477.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.1431, allocations: 98.45 kB / 477.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.1431, allocations: 47.44 kB / 477.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.1435, allocations: 298.3 kB / 477.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.1435, allocations: 33 kB / 477.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.1436, allocations: 47.95 kB / 477.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1446, allocations: 0.6597 MB / 478.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1446, allocations: 4 kB / 478.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.1447, allocations: 20 kB / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/0.1447, allocations: 24.98 kB / 478.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/0.1456, allocations: 0.4917 MB / 479.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.1476, allocations: 1.511 MB / 480.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.1481, allocations: 311.6 kB / 480.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.1484, allocations: 158.5 kB / 481 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.227e-05/0.1485, allocations: 15.94 kB / 481 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1485, allocations: 46.5 kB / 481.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/0.1485, allocations: 0 / 481.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001209/0.1497, allocations: 0.5267 MB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.1498, allocations: 102.8 kB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.1504, allocations: 0.5369 MB / 482.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1504, allocations: 25.7 kB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1506, allocations: 231.9 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.1507, allocations: 74.97 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.1507, allocations: 8 kB / 482.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1508, allocations: 354.8 kB / 482.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.1512, allocations: 160.1 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.1516, allocations: 303.7 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.152, allocations: 195.8 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1521, allocations: 4 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009606/0.153, allocations: 0.5299 MB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1531, allocations: 8 kB / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-05/0.1531, allocations: 39.98 kB / 484.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1532, allocations: 8 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.1534, allocations: 52.02 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-05/0.1534, allocations: 8 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.1537, allocations: 71.36 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.1538, allocations: 23.98 kB / 484.3 MB, free: 0.5898 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.000223/0.154, allocations: 221.5 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1541, allocations: 47.39 kB / 484.6 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009286/0.1551, allocations: 453.1 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.1551, allocations: 4 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1551, allocations: 4 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1551, allocations: 4 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005526/0.1557, allocations: 389.2 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.047e-05/0.1557, allocations: 35.98 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.1559, allocations: 31.97 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1559, allocations: 3.953 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.1559, allocations: 12 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.1559, allocations: 7.938 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1559, allocations: 4 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.1568, allocations: 0.6228 MB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1569, allocations: 128.5 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.1569, allocations: 3.938 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.1572, allocations: 31.97 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.1573, allocations: 23.97 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.1574, allocations: 16 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004233/0.1578, allocations: 387 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.532e-06/0.1578, allocations: 0 / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005823/0.1584, allocations: 143.7 kB / 486.9 MB, free: 13.95 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.001342/0.1597, allocations: 1.216 MB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00098/0.1607, allocations: 0.6922 MB / 488.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1607, allocations: 4.062 kB / 488.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.1613, allocations: 492.2 kB / 489.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.162, allocations: 110 kB / 489.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.1667, allocations: 3.148 MB / 492.5 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.1671, allocations: 0.8623 MB / 493.4 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002321/0.1673, allocations: 87.33 kB / 493.4 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.1675, allocations: 119.4 kB / 493.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1675, allocations: 0 / 493.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05828/0.2258, allocations: 12.03 MB / 0.4937 GB, free: 11.19 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.226, allocations: 231.2 kB / 0.494 GB, free: 10.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.414, allocations: 0 / 0.494 GB, free: 10.95 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