Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",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.0009149/0.000915, allocations: 97.94 kB / 17.01 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.0007971/0.0007972, allocations: 178.2 kB / 17.89 MB, free: 5.945 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.311/1.311, allocations: 223.2 MB / 241.9 MB, free: 348 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.1973/0.1973, allocations: 44.22 MB / 337.2 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004451, allocations: 12 kB / 409.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1408, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002621/0.1435, allocations: 1.661 MB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1447, allocations: 0.8108 MB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.1448, allocations: 4 kB / 474.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.145, allocations: 55.67 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.1453, allocations: 107.5 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.1456, allocations: 79.66 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.146, allocations: 454 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.1461, allocations: 44.66 kB / 474.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1463, allocations: 143.3 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.1466, allocations: 183.2 kB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.1466, allocations: 8 kB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.1468, allocations: 135.7 kB / 475.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1469, allocations: 95.56 kB / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.385e-05/0.147, allocations: 81.52 kB / 475.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.1474, allocations: 303.3 kB / 475.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1474, allocations: 0 / 475.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1474, allocations: 0 / 475.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1474, allocations: 0 / 475.8 MB, free: 9.477 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008409/0.1482, allocations: 0.5928 MB / 476.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1483, allocations: 12.03 kB / 476.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.1484, allocations: 82.52 kB / 476.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.1485, allocations: 43.44 kB / 476.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1488, allocations: 270.5 kB / 476.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.1488, allocations: 29 kB / 476.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.149, allocations: 43.94 kB / 476.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008582/0.1498, allocations: 0.5529 MB / 477.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1499, allocations: 0 / 477.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.1499, allocations: 16 kB / 477.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.175e-05/0.1499, allocations: 36.98 kB / 477.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009138/0.1509, allocations: 0.5932 MB / 478.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.1525, allocations: 1.164 MB / 479.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.1533, allocations: 384 kB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.1535, allocations: 137.1 kB / 479.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.257e-05/0.1536, allocations: 16.09 kB / 479.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1536, allocations: 38.78 kB / 479.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.774e-06/0.1536, allocations: 0 / 479.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009408/0.1546, allocations: 479.4 kB / 480.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1546, allocations: 51.41 kB / 480.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.1551, allocations: 453.6 kB / 480.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1551, allocations: 29.7 kB / 480.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1553, allocations: 188.3 kB / 481 MB, free: 4.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/0.1554, allocations: 86.89 kB / 481 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.1554, allocations: 0 / 481 MB, free: 4.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1555, allocations: 346.8 kB / 481.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.1558, allocations: 119.9 kB / 481.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.1561, allocations: 130.1 kB / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.1564, allocations: 131.9 kB / 481.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1564, allocations: 3.938 kB / 481.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006833/0.1571, allocations: 359.7 kB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1571, allocations: 8 kB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1571, allocations: 4 kB / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1571, allocations: 0 / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/0.1578, allocations: 159.8 kB / 482.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003341/0.1612, allocations: 5.516 MB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.1615, allocations: 51.41 kB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.1615, allocations: 11.98 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002297/0.1617, allocations: 194.4 kB / 488.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.1618, allocations: 43.48 kB / 488.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008919/0.1627, allocations: 452.6 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1627, allocations: 4 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1627, allocations: 0 / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1627, allocations: 7.984 kB / 488.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.1632, allocations: 369.3 kB / 488.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1632, allocations: 0 / 488.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/0.1639, allocations: 163.8 kB / 489.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1639, allocations: 0 / 489.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.1639, allocations: 11.98 kB / 489.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/0.1669, allocations: 5.52 MB / 494.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1669, allocations: 0 / 494.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.1676, allocations: 465.9 kB / 495.1 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1677, allocations: 116.6 kB / 495.2 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.1678, allocations: 8 kB / 495.2 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.168, allocations: 19.98 kB / 495.2 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.168, allocations: 19.97 kB / 495.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.1681, allocations: 12 kB / 495.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003516/0.1684, allocations: 331.1 kB / 495.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1684, allocations: 0 / 495.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004088/0.1688, allocations: 107.9 kB / 495.7 MB, free: 4.875 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.1699, allocations: 1.034 MB / 496.7 MB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.171, allocations: 407.6 kB / 497.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.171, allocations: 4 kB / 497.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007614/0.1718, allocations: 277 kB / 497.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.1723, allocations: 85.5 kB / 497.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.176, allocations: 2.68 MB / 0.4884 GB, free: 340 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.1764, allocations: 0.8542 MB / 0.4892 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002392/0.1767, allocations: 87.2 kB / 0.4893 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.1768, allocations: 118.7 kB / 0.4894 GB, free: 15.25 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1768, allocations: 0 / 0.4894 GB, free: 15.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.2007, allocations: 10.41 MB / 0.4996 GB, free: 5.164 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.201, allocations: 256.2 kB / 0.4998 GB, free: 4.816 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/2.369, allocations: 4.062 kB / 0.4999 GB, free: 4.812 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat