Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001243/0.001244, allocations: 200.2 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008772/0.0008772, allocations: 95.47 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1908/0.1908, allocations: 45.15 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.153e-05, allocations: 4 kB / 453.3 MB, free: 75.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 63.25 MB / 0.5045 GB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5184, allocations: 93.36 MB / 0.5957 GB, free: 8.809 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.5187, allocations: 93.75 kB / 0.5957 GB, free: 8.754 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02756/0.5463, allocations: 9.685 MB / 0.6052 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5463, allocations: 4 kB / 0.6052 GB, free: 0.543 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.5464, allocations: 7.938 kB / 0.6052 GB, free: 0.5352 MB / 394.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.0008252/0.5472, allocations: 0.5684 MB / 0.6058 GB, free: 15.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5472, allocations: 8.031 kB / 0.6058 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.93e-05/0.5473, allocations: 39.53 kB / 0.6058 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.5477, allocations: 278.5 kB / 0.6061 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.5477, allocations: 15.94 kB / 0.6061 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.5478, allocations: 28 kB / 0.6061 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006358/0.5484, allocations: 484 kB / 0.6066 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006593/0.5491, allocations: 473.1 kB / 0.607 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.5491, allocations: 0 / 0.607 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.5491, allocations: 0 / 0.607 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/0.5492, allocations: 40.72 kB / 0.6071 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.5508, allocations: 1.048 MB / 0.6081 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.5514, allocations: 417 kB / 0.6085 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.5516, allocations: 134 kB / 0.6086 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.5516, allocations: 8.234 kB / 0.6086 GB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5517, allocations: 34.23 kB / 0.6087 GB, free: 13.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.764e-06/0.5517, allocations: 0 / 0.6087 GB, free: 13.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005668/0.5523, allocations: 334.4 kB / 0.609 GB, free: 12.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.5523, allocations: 55.41 kB / 0.609 GB, free: 12.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.5524, allocations: 130.3 kB / 0.6092 GB, free: 12.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.5525, allocations: 25.7 kB / 0.6092 GB, free: 12.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.5526, allocations: 203.5 kB / 0.6094 GB, free: 12.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.5527, allocations: 89.34 kB / 0.6095 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.5527, allocations: 0 / 0.6095 GB, free: 12.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5528, allocations: 329.9 kB / 0.6098 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.553, allocations: 115.1 kB / 0.6099 GB, free: 12.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.5532, allocations: 125.8 kB / 0.61 GB, free: 11.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.5534, allocations: 131.3 kB / 0.6101 GB, free: 11.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5534, allocations: 3.938 kB / 0.6101 GB, free: 11.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004593/0.5539, allocations: 320.2 kB / 0.6104 GB, free: 11.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5539, allocations: 7.984 kB / 0.6104 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5539, allocations: 4 kB / 0.6104 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5539, allocations: 0 / 0.6104 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/0.5547, allocations: 159.2 kB / 0.6106 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.5578, allocations: 5.547 MB / 0.616 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.558, allocations: 27.77 kB / 0.616 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.5581, allocations: 11.98 kB / 0.6161 GB, free: 5.664 MB / 410.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.0001439/0.5582, allocations: 105 kB / 0.6162 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000494/0.5587, allocations: 333.2 kB / 0.6165 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.5588, allocations: 19.75 kB / 0.6165 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007171/0.5595, allocations: 439.8 kB / 0.6169 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.5595, allocations: 4 kB / 0.6169 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5595, allocations: 0 / 0.6169 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5595, allocations: 0 / 0.6169 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.56, allocations: 342.5 kB / 0.6172 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.56, allocations: 0 / 0.6172 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.5607, allocations: 159.1 kB / 0.6174 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.5607, allocations: 0 / 0.6174 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.5608, allocations: 11.98 kB / 0.6174 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/0.5637, allocations: 5.544 MB / 0.6228 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5637, allocations: 4.312 kB / 0.6228 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.5643, allocations: 434.2 kB / 0.6232 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.5644, allocations: 92.86 kB / 0.6233 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.5644, allocations: 0 / 0.6233 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.5646, allocations: 15.94 kB / 0.6233 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.5647, allocations: 23.22 kB / 0.6234 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.5647, allocations: 15.97 kB / 0.6234 GB, free: 14.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.339e-05/0.5648, allocations: 122 kB / 0.6235 GB, free: 13.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5648, allocations: 0 / 0.6235 GB, free: 13.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004628/0.5653, allocations: 119.5 kB / 0.6236 GB, free: 13.86 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.001069/0.5663, allocations: 1.037 MB / 0.6246 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009598/0.5673, allocations: 375.5 kB / 0.625 GB, free: 12.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5673, allocations: 0 / 0.625 GB, free: 12.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006806/0.568, allocations: 240.7 kB / 0.6252 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.5683, allocations: 19.58 kB / 0.6252 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.5695, allocations: 0.6477 MB / 0.6259 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.57, allocations: 0.8696 MB / 0.6267 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.5702, allocations: 65.78 kB / 0.6268 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.5704, allocations: 108.6 kB / 0.6269 GB, free: 10.62 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5704, allocations: 4 kB / 0.6269 GB, free: 10.62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.5975, allocations: 6.312 MB / 0.633 GB, free: 4.348 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.5977, allocations: 198 kB / 0.6332 GB, free: 4.145 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.515, allocations: 1.828 kB / 0.6332 GB, free: 4.145 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat