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_KC.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_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",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.001118/0.001118, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.732/1.732, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008617, allocations: 94.66 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3489/0.3489, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 8 kB / 460 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 61.9 MB / 0.5097 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4511, allocations: 93.05 MB / 0.6005 GB, free: 2.055 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.4514, allocations: 107.8 kB / 0.6006 GB, free: 1.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02703/0.4785, allocations: 9.743 MB / 0.6101 GB, free: 8.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4785, allocations: 0 / 0.6101 GB, free: 8.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.4785, allocations: 8 kB / 0.6101 GB, free: 8.035 MB / 426.7 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.0008748/0.4794, allocations: 0.5887 MB / 0.6107 GB, free: 7.398 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4795, allocations: 8.031 kB / 0.6107 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.4796, allocations: 86.52 kB / 0.6108 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.4797, allocations: 39.53 kB / 0.6108 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.4801, allocations: 274.5 kB / 0.6111 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.4801, allocations: 28.98 kB / 0.6111 GB, free: 6.922 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.4802, allocations: 39.95 kB / 0.6112 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008519/0.481, allocations: 0.5373 MB / 0.6117 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4811, allocations: 7.938 kB / 0.6117 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.4811, allocations: 12 kB / 0.6117 GB, free: 6.316 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/0.4812, allocations: 36.97 kB / 0.6118 GB, free: 6.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008919/0.4821, allocations: 0.5737 MB / 0.6123 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.4839, allocations: 1.191 MB / 0.6135 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.4846, allocations: 392.9 kB / 0.6138 GB, free: 4.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.4846, allocations: 12.17 kB / 0.6139 GB, free: 4.059 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4847, allocations: 30.75 kB / 0.6139 GB, free: 4.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.144e-06/0.4847, allocations: 3.938 kB / 0.6139 GB, free: 4.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009471/0.4856, allocations: 484.9 kB / 0.6144 GB, free: 3.539 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.4857, allocations: 51.41 kB / 0.6144 GB, free: 3.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.4861, allocations: 408.8 kB / 0.6148 GB, free: 3.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.4862, allocations: 33.7 kB / 0.6148 GB, free: 3.031 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.4863, allocations: 184.4 kB / 0.615 GB, free: 2.844 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.4864, allocations: 70.95 kB / 0.6151 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.4864, allocations: 4 kB / 0.6151 GB, free: 2.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4866, allocations: 350.8 kB / 0.6154 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.4868, allocations: 119.9 kB / 0.6155 GB, free: 2.301 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.487, allocations: 119.9 kB / 0.6156 GB, free: 2.184 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.4873, allocations: 137.3 kB / 0.6158 GB, free: 2.051 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4873, allocations: 0 / 0.6158 GB, free: 2.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000623/0.4879, allocations: 352.1 kB / 0.6161 GB, free: 1.703 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.488, allocations: 7.953 kB / 0.6161 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.488, allocations: 3.984 kB / 0.6161 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.488, allocations: 0 / 0.6161 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.4888, allocations: 159.8 kB / 0.6163 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/0.4919, allocations: 5.52 MB / 0.6217 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.4922, allocations: 47.45 kB / 0.6217 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.4923, allocations: 12.28 kB / 0.6217 GB, free: 11.75 MB / 442.7 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.0002672/0.4925, allocations: 191.7 kB / 0.6219 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.233e-05/0.4926, allocations: 35.58 kB / 0.6219 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008668/0.4935, allocations: 464.3 kB / 0.6224 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4935, allocations: 4 kB / 0.6224 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4935, allocations: 0 / 0.6224 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4935, allocations: 3.984 kB / 0.6224 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.4941, allocations: 369.3 kB / 0.6227 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4941, allocations: 0 / 0.6227 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006924/0.4948, allocations: 159.9 kB / 0.6229 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.4948, allocations: 3.953 kB / 0.6229 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.4948, allocations: 4 kB / 0.6229 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.4978, allocations: 5.52 MB / 0.6283 GB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4979, allocations: 4.281 kB / 0.6283 GB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.4986, allocations: 446.8 kB / 0.6287 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.4987, allocations: 120.5 kB / 0.6288 GB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.4988, allocations: 8 kB / 0.6288 GB, free: 4.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.499, allocations: 15.98 kB / 0.6289 GB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.499, allocations: 19.97 kB / 0.6289 GB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.4991, allocations: 19.92 kB / 0.6289 GB, free: 4.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000355/0.4994, allocations: 335 kB / 0.6292 GB, free: 3.762 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4995, allocations: 0 / 0.6292 GB, free: 3.762 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004293/0.4999, allocations: 107.8 kB / 0.6293 GB, free: 3.656 MB / 442.7 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.00113/0.501, allocations: 1.052 MB / 0.6303 GB, free: 2.578 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.5021, allocations: 379.5 kB / 0.6307 GB, free: 2.207 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5021, allocations: 0 / 0.6307 GB, free: 2.207 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007188/0.5028, allocations: 250.1 kB / 0.6309 GB, free: 1.965 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.5033, allocations: 86.05 kB / 0.631 GB, free: 1.883 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.507, allocations: 2.599 MB / 0.6336 GB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.5075, allocations: 0.8643 MB / 0.6344 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000203/0.5077, allocations: 83.2 kB / 0.6345 GB, free: 14.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.5079, allocations: 107.4 kB / 0.6346 GB, free: 14.15 MB / 458.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5079, allocations: 4 kB / 0.6346 GB, free: 14.14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.5334, allocations: 10.76 MB / 0.6451 GB, free: 3.715 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/0.5338, allocations: 260.8 kB / 0.6453 GB, free: 3.375 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/2.869, allocations: 0 / 0.6453 GB, free: 3.375 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_turbulent_KC_res.mat does not exist to compare? outputFormat=mat