Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0009956/0.0009956, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008502/0.0008503, allocations: 90.58 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.306/0.306, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.132e-05, allocations: 0 / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 58.86 MB / 477.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4831/0.6054, allocations: 92.17 MB / 0.5561 GB, free: 2.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.6057, allocations: 103.1 kB / 0.5562 GB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02629/0.632, allocations: 10.52 MB / 0.5664 GB, free: 9.938 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6321, allocations: 4 kB / 0.5664 GB, free: 9.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.6321, allocations: 8 kB / 0.5664 GB, free: 9.926 MB / 378.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.0009428/0.6331, allocations: 0.6179 MB / 0.567 GB, free: 9.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.6331, allocations: 8.031 kB / 0.5671 GB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.013e-05/0.6332, allocations: 47.44 kB / 0.5671 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.6336, allocations: 284.4 kB / 0.5674 GB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.6336, allocations: 15.94 kB / 0.5674 GB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.6337, allocations: 20 kB / 0.5674 GB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004916/0.6342, allocations: 332.7 kB / 0.5677 GB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000694/0.6349, allocations: 499.4 kB / 0.5682 GB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.6349, allocations: 4 kB / 0.5682 GB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.635, allocations: 0 / 0.5682 GB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.635, allocations: 20.78 kB / 0.5682 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.6367, allocations: 1.242 MB / 0.5694 GB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.6371, allocations: 234.6 kB / 0.5697 GB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.6373, allocations: 102.3 kB / 0.5698 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.6373, allocations: 15.8 kB / 0.5698 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.6374, allocations: 34.5 kB / 0.5698 GB, free: 6.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.6374, allocations: 0 / 0.5698 GB, free: 6.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005283/0.6379, allocations: 249.8 kB / 0.57 GB, free: 6.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.638, allocations: 110.8 kB / 0.5701 GB, free: 6.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.6381, allocations: 188.7 kB / 0.5703 GB, free: 6.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.6382, allocations: 29.77 kB / 0.5704 GB, free: 6.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.6383, allocations: 218.2 kB / 0.5706 GB, free: 5.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.6384, allocations: 66.78 kB / 0.5706 GB, free: 5.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.6384, allocations: 0 / 0.5706 GB, free: 5.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6386, allocations: 330.6 kB / 0.5709 GB, free: 5.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.6387, allocations: 95.41 kB / 0.571 GB, free: 5.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.6389, allocations: 140.6 kB / 0.5712 GB, free: 5.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.6391, allocations: 109.1 kB / 0.5713 GB, free: 5.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.6391, allocations: 0 / 0.5713 GB, free: 5.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004499/0.6395, allocations: 284.1 kB / 0.5715 GB, free: 4.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.6396, allocations: 4 kB / 0.5715 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.794e-05/0.6396, allocations: 40.06 kB / 0.5716 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6397, allocations: 0 / 0.5716 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.6399, allocations: 39.91 kB / 0.5716 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.6399, allocations: 4 kB / 0.5716 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.6401, allocations: 43.77 kB / 0.5717 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.6401, allocations: 8 kB / 0.5717 GB, free: 4.809 MB / 378.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 9.813e-05/0.6402, allocations: 109 kB / 0.5718 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004257/0.6407, allocations: 256.3 kB / 0.572 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.6407, allocations: 15.81 kB / 0.572 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005547/0.6413, allocations: 336 kB / 0.5724 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6413, allocations: 8.062 kB / 0.5724 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6413, allocations: 3.953 kB / 0.5724 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6413, allocations: 4 kB / 0.5724 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.6418, allocations: 316.5 kB / 0.5727 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.618e-05/0.6419, allocations: 27.97 kB / 0.5727 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.642, allocations: 31.97 kB / 0.5727 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.642, allocations: 0 / 0.5727 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.6421, allocations: 15.88 kB / 0.5727 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6421, allocations: 4 kB / 0.5728 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6421, allocations: 3.984 kB / 0.5728 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.6426, allocations: 0.5229 MB / 0.5733 GB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.6427, allocations: 92.86 kB / 0.5734 GB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.6427, allocations: 8 kB / 0.5734 GB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.643, allocations: 23.92 kB / 0.5734 GB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.6431, allocations: 19.97 kB / 0.5734 GB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.6431, allocations: 15.88 kB / 0.5734 GB, free: 3.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.6432, allocations: 144.6 kB / 0.5736 GB, free: 2.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6432, allocations: 0 / 0.5736 GB, free: 2.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008308/0.644, allocations: 147.2 kB / 0.5737 GB, free: 2.781 MB / 378.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.001471/0.6455, allocations: 1.292 MB / 0.575 GB, free: 1.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.6462, allocations: 454.3 kB / 0.5754 GB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6462, allocations: 0 / 0.5754 GB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.6465, allocations: 358.3 kB / 0.5757 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.6468, allocations: 28.34 kB / 0.5758 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.6483, allocations: 0.6655 MB / 0.5764 GB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.6488, allocations: 0.8639 MB / 0.5773 GB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.123e-05/0.6489, allocations: 21.2 kB / 0.5773 GB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.649, allocations: 104.1 kB / 0.5774 GB, free: 14.99 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.649, allocations: 0 / 0.5774 GB, free: 14.99 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.6752, allocations: 6.164 MB / 0.5834 GB, free: 8.828 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/0.6755, allocations: 190.6 kB / 0.5836 GB, free: 8.629 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.501, allocations: 2.406 kB / 0.5836 GB, free: 8.629 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat