Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001178, allocations: 194.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009244/0.0009244, allocations: 89.7 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2565/0.2565, allocations: 45.15 MB / 383.7 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.666e-05/1.661e-05, allocations: 7.984 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09557, allocations: 63.24 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.4908, allocations: 98.36 MB / 0.6005 GB, free: 3.922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.4912, allocations: 98.36 kB / 0.6006 GB, free: 3.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04197/0.5332, allocations: 14.64 MB / 0.6149 GB, free: 7.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5332, allocations: 3.938 kB / 0.6149 GB, free: 7.516 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.5333, allocations: 4 kB / 0.6149 GB, free: 7.512 MB / 410.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.001169/0.5344, allocations: 0.608 MB / 0.6155 GB, free: 6.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5345, allocations: 8.031 kB / 0.6155 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.5346, allocations: 43.52 kB / 0.6156 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.535, allocations: 277.2 kB / 0.6158 GB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.5351, allocations: 12 kB / 0.6158 GB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.5351, allocations: 24 kB / 0.6159 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006474/0.5358, allocations: 482.5 kB / 0.6163 GB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/0.5365, allocations: 478.6 kB / 0.6168 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.5365, allocations: 0 / 0.6168 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.5365, allocations: 4 kB / 0.6168 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.5366, allocations: 33.23 kB / 0.6168 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.5384, allocations: 1.058 MB / 0.6178 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.539, allocations: 415.1 kB / 0.6182 GB, free: 4.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.5392, allocations: 130.2 kB / 0.6184 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/0.5393, allocations: 13.83 kB / 0.6184 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.5393, allocations: 36.67 kB / 0.6184 GB, free: 4.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.5393, allocations: 0 / 0.6184 GB, free: 4.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006639/0.54, allocations: 331.5 kB / 0.6187 GB, free: 3.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.54, allocations: 59.97 kB / 0.6188 GB, free: 3.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.5402, allocations: 129.9 kB / 0.6189 GB, free: 3.723 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.5402, allocations: 29.7 kB / 0.6189 GB, free: 3.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.5404, allocations: 196.2 kB / 0.6191 GB, free: 3.512 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.5405, allocations: 90.34 kB / 0.6192 GB, free: 3.434 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.5405, allocations: 4 kB / 0.6192 GB, free: 3.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5406, allocations: 332.9 kB / 0.6195 GB, free: 3.102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.5408, allocations: 112.6 kB / 0.6196 GB, free: 3.004 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.541, allocations: 117 kB / 0.6198 GB, free: 2.902 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.5412, allocations: 133 kB / 0.6199 GB, free: 2.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5412, allocations: 3.938 kB / 0.6199 GB, free: 2.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005273/0.5418, allocations: 325.4 kB / 0.6202 GB, free: 2.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5418, allocations: 4 kB / 0.6202 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.5418, allocations: 0 / 0.6202 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5418, allocations: 4 kB / 0.6202 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008115/0.5426, allocations: 158.7 kB / 0.6204 GB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.5459, allocations: 5.545 MB / 0.6258 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.5462, allocations: 28.05 kB / 0.6258 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.5462, allocations: 11.31 kB / 0.6258 GB, free: 12.6 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 19 * 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.0001193/0.5463, allocations: 108.9 kB / 0.6259 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005222/0.5469, allocations: 328 kB / 0.6262 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.5469, allocations: 19.8 kB / 0.6262 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007262/0.5476, allocations: 435.4 kB / 0.6267 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5477, allocations: 4 kB / 0.6267 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5477, allocations: 4 kB / 0.6267 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5477, allocations: 0 / 0.6267 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.5481, allocations: 342.9 kB / 0.627 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.5481, allocations: 4 kB / 0.627 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007394/0.5489, allocations: 159.4 kB / 0.6271 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.5489, allocations: 3.984 kB / 0.6272 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.5489, allocations: 4 kB / 0.6272 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/0.5523, allocations: 5.553 MB / 0.6326 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5523, allocations: 3.984 kB / 0.6326 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.5529, allocations: 427.4 kB / 0.633 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.553, allocations: 96.8 kB / 0.6331 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.553, allocations: 0 / 0.6331 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.5532, allocations: 15.94 kB / 0.6331 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.5533, allocations: 23.47 kB / 0.6331 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.5533, allocations: 15.48 kB / 0.6331 GB, free: 5.016 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.054e-05/0.5534, allocations: 114.9 kB / 0.6332 GB, free: 4.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5534, allocations: 0 / 0.6332 GB, free: 4.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006833/0.5541, allocations: 174.8 kB / 0.6334 GB, free: 4.746 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 19 * 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.001344/0.5554, allocations: 1.12 MB / 0.6345 GB, free: 3.637 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009651/0.5564, allocations: 370.2 kB / 0.6349 GB, free: 3.305 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5564, allocations: 0 / 0.6349 GB, free: 3.305 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.5571, allocations: 245.8 kB / 0.6351 GB, free: 3.082 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.5574, allocations: 19.12 kB / 0.6351 GB, free: 3.066 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.5587, allocations: 0.6787 MB / 0.6358 GB, free: 2.383 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.5591, allocations: 0.8671 MB / 0.6366 GB, free: 1.496 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.5593, allocations: 65.77 kB / 0.6367 GB, free: 1.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.5594, allocations: 115.6 kB / 0.6368 GB, free: 1.398 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5594, allocations: 0 / 0.6368 GB, free: 1.398 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.5864, allocations: 7.44 MB / 0.6441 GB, free: 9.996 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.5867, allocations: 187.9 kB / 0.6442 GB, free: 9.801 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.477, allocations: 0 / 0.6442 GB, free: 9.801 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat