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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009785/0.0009784, allocations: 180.6 kB / 14.15 MB, free: 1.176 MB / 13.93 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: 221.3 MB / 236 MB, free: 2.883 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009846, allocations: 95.98 kB / 287 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.267e-05, allocations: 4 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1472, allocations: 61.92 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.583, allocations: 93.98 MB / 0.5936 GB, free: 11.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.5833, allocations: 91.94 kB / 0.5937 GB, free: 11.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03181/0.6152, allocations: 10.98 MB / 0.6044 GB, free: 36 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6152, allocations: 0 / 0.6044 GB, free: 36 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.6152, allocations: 12 kB / 0.6044 GB, free: 24 kB / 410.7 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.001088/0.6163, allocations: 0.6113 MB / 0.605 GB, free: 15.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.6164, allocations: 12.03 kB / 0.605 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.6165, allocations: 86.53 kB / 0.6051 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.6166, allocations: 43.44 kB / 0.6051 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.6171, allocations: 290.2 kB / 0.6054 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.6171, allocations: 28.78 kB / 0.6055 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.6172, allocations: 36 kB / 0.6055 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009174/0.6181, allocations: 0.5293 MB / 0.606 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.6181, allocations: 0 / 0.606 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.6182, allocations: 16 kB / 0.606 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.6182, allocations: 28.77 kB / 0.606 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005696/0.6188, allocations: 366.8 kB / 0.6064 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.6209, allocations: 1.409 MB / 0.6078 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.6213, allocations: 239.6 kB / 0.608 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.6215, allocations: 114.5 kB / 0.6081 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.6215, allocations: 7.984 kB / 0.6081 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.6216, allocations: 34.56 kB / 0.6081 GB, free: 11.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.844e-06/0.6216, allocations: 3.938 kB / 0.6082 GB, free: 11.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006244/0.6222, allocations: 277.8 kB / 0.6084 GB, free: 11.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.6223, allocations: 110.8 kB / 0.6085 GB, free: 11.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.6229, allocations: 455.2 kB / 0.609 GB, free: 11.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.6229, allocations: 29.7 kB / 0.609 GB, free: 11.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.6231, allocations: 216.1 kB / 0.6092 GB, free: 10.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.6231, allocations: 51.27 kB / 0.6092 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.6232, allocations: 0 / 0.6092 GB, free: 10.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.6234, allocations: 354.8 kB / 0.6096 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.6236, allocations: 100.1 kB / 0.6097 GB, free: 10.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.6238, allocations: 149.7 kB / 0.6098 GB, free: 10.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.624, allocations: 104.6 kB / 0.6099 GB, free: 10.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6241, allocations: 0 / 0.6099 GB, free: 10.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000561/0.6246, allocations: 327.2 kB / 0.6102 GB, free: 9.758 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.6247, allocations: 7.938 kB / 0.6102 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-05/0.6247, allocations: 31.97 kB / 0.6103 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.6247, allocations: 0 / 0.6103 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.625, allocations: 35.97 kB / 0.6103 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.625, allocations: 7.984 kB / 0.6103 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.6253, allocations: 63.58 kB / 0.6104 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.6253, allocations: 15.98 kB / 0.6104 GB, free: 9.598 MB / 426.7 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 () * 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.0001243/0.6255, allocations: 122.9 kB / 0.6105 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.6256, allocations: 39.53 kB / 0.6105 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.6262, allocations: 360.8 kB / 0.6109 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6263, allocations: 4 kB / 0.6109 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6263, allocations: 0 / 0.6109 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6263, allocations: 7.938 kB / 0.6109 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.6268, allocations: 369.3 kB / 0.6112 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.968e-05/0.6269, allocations: 27.98 kB / 0.6113 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.6271, allocations: 31.91 kB / 0.6113 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.6271, allocations: 0 / 0.6113 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.6271, allocations: 19.98 kB / 0.6113 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6271, allocations: 0 / 0.6113 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6271, allocations: 4 kB / 0.6113 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.6278, allocations: 0.5324 MB / 0.6118 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.6279, allocations: 128.5 kB / 0.612 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.628, allocations: 4 kB / 0.612 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.6283, allocations: 19.98 kB / 0.612 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.6284, allocations: 31.86 kB / 0.612 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.6284, allocations: 11.94 kB / 0.612 GB, free: 7.793 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004086/0.6288, allocations: 365.1 kB / 0.6124 GB, free: 7.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6288, allocations: 8 kB / 0.6124 GB, free: 7.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005462/0.6294, allocations: 123.9 kB / 0.6125 GB, free: 7.309 MB / 426.7 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 () * 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.001186/0.6306, allocations: 1.304 MB / 0.6138 GB, free: 5.973 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006047/0.6312, allocations: 463.1 kB / 0.6142 GB, free: 5.465 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6312, allocations: 0 / 0.6142 GB, free: 5.465 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.6316, allocations: 363.2 kB / 0.6146 GB, free: 5.055 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.6321, allocations: 94.61 kB / 0.6147 GB, free: 4.965 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.6337, allocations: 0.7349 MB / 0.6154 GB, free: 4.188 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.6342, allocations: 0.8577 MB / 0.6162 GB, free: 3.301 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.6344, allocations: 59.27 kB / 0.6163 GB, free: 3.238 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.6346, allocations: 107.4 kB / 0.6164 GB, free: 3.133 MB / 426.7 MB Notification: Performance of SimCode: time 5.82e-07/0.6346, allocations: 0 / 0.6164 GB, free: 3.133 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.6642, allocations: 10.8 MB / 0.6269 GB, free: 8.562 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.6645, allocations: 191 kB / 0.6271 GB, free: 8.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/2.864, allocations: 2.812 kB / 0.6271 GB, free: 8.34 MB / 442.7 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