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_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",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.0009484/0.0009483, allocations: 96.17 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.0009092/0.0009092, allocations: 186 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.453/1.453, 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.2261/0.2261, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003406, allocations: 8.719 kB / 409.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 61.92 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002482/0.1439, allocations: 1.704 MB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1456, allocations: 1.025 MB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.1457, allocations: 4 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.146, allocations: 47.72 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1462, allocations: 71.73 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.1466, allocations: 143.6 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.147, allocations: 291.3 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1472, allocations: 44.72 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.1474, allocations: 127.4 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.1476, allocations: 155.3 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.1477, allocations: 12 kB / 475.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.1481, allocations: 207.7 kB / 475.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1482, allocations: 83.7 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.033e-05/0.1483, allocations: 81.45 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.1487, allocations: 315.5 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1488, allocations: 0 / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1488, allocations: 4 kB / 475.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.1488, allocations: 0 / 475.8 MB, free: 9.293 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001271/0.1501, allocations: 0.6511 MB / 476.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.1501, allocations: 8.562 kB / 476.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.1503, allocations: 78.53 kB / 476.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.1503, allocations: 43.44 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.1508, allocations: 286.3 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1508, allocations: 25 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.1509, allocations: 43.95 kB / 477 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.1518, allocations: 0.5777 MB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1518, allocations: 0 / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.1519, allocations: 16 kB / 477.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.1519, allocations: 28.98 kB / 477.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008233/0.1527, allocations: 447.6 kB / 478 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.1546, allocations: 1.398 MB / 479.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.1552, allocations: 287.6 kB / 479.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.1552, allocations: 7.953 kB / 479.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.1553, allocations: 42.55 kB / 479.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.512e-06/0.1553, allocations: 4 kB / 479.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001249/0.1565, allocations: 0.6986 MB / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.1566, allocations: 114.8 kB / 480.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.1571, allocations: 0.5057 MB / 481.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1572, allocations: 25.81 kB / 481.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.1574, allocations: 204.1 kB / 481.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.1574, allocations: 59.14 kB / 481.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.1574, allocations: 4 kB / 481.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1576, allocations: 358.7 kB / 481.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.1579, allocations: 140 kB / 481.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.1582, allocations: 179.1 kB / 482 MB, free: 2.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.1586, allocations: 151.9 kB / 482.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1586, allocations: 0 / 482.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007832/0.1594, allocations: 400.9 kB / 482.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1594, allocations: 7.984 kB / 482.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.382e-05/0.1595, allocations: 23.98 kB / 482.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1595, allocations: 4 kB / 482.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.1597, allocations: 47.89 kB / 482.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1597, allocations: 8 kB / 482.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.16, allocations: 63.39 kB / 482.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.16, allocations: 19.98 kB / 482.7 MB, free: 2.047 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001881/0.1602, allocations: 185.7 kB / 482.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1603, allocations: 35.53 kB / 482.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007438/0.1611, allocations: 396.6 kB / 483.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.1611, allocations: 4 kB / 483.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1611, allocations: 0 / 483.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1611, allocations: 3.984 kB / 483.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.1616, allocations: 365.3 kB / 483.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.852e-05/0.1617, allocations: 27.97 kB / 483.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.1618, allocations: 43.84 kB / 483.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1619, allocations: 0 / 483.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.1619, allocations: 12 kB / 483.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1619, allocations: 0 / 483.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1619, allocations: 0 / 483.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.1628, allocations: 0.6245 MB / 484.4 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1629, allocations: 120.6 kB / 484.5 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.163, allocations: 8 kB / 484.5 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.1633, allocations: 27.97 kB / 484.6 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.1634, allocations: 19.92 kB / 484.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.1634, allocations: 11.98 kB / 484.6 MB, free: 76 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004035/0.1638, allocations: 375.1 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1638, allocations: 0 / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004968/0.1643, allocations: 107.9 kB / 485.1 MB, free: 15.6 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001295/0.1656, allocations: 1.365 MB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008333/0.1665, allocations: 0.5341 MB / 487 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1665, allocations: 0 / 487 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.1669, allocations: 399.4 kB / 487.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.1674, allocations: 93.56 kB / 487.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.1718, allocations: 3.55 MB / 491 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1723, allocations: 0.8616 MB / 491.9 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.1724, allocations: 59.25 kB / 491.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.1726, allocations: 111.4 kB / 492 MB, free: 8.391 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1726, allocations: 0 / 492 MB, free: 8.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.1957, allocations: 10.22 MB / 0.4905 GB, free: 14.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.196, allocations: 231.1 kB / 0.4907 GB, free: 14.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.102, allocations: 6.406 kB / 0.4907 GB, free: 14.19 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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_turbulent_res.mat does not exist to compare? outputFormat=mat