Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.002107/0.002108, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 93.55 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.19/0.19, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.183e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1387, allocations: 63.25 MB / 0.5045 GB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3892/0.5281, allocations: 94.37 MB / 0.5966 GB, free: 7.805 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.5283, allocations: 92.88 kB / 0.5967 GB, free: 7.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02874/0.5571, allocations: 10.94 MB / 0.6074 GB, free: 14.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5571, allocations: 4 kB / 0.6074 GB, free: 14.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.5571, allocations: 8 kB / 0.6074 GB, free: 14.45 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008943/0.558, allocations: 0.6128 MB / 0.608 GB, free: 13.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.5581, allocations: 16.03 kB / 0.608 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.5585, allocations: 88.19 kB / 0.6081 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.5589, allocations: 277.4 kB / 0.6084 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.5589, allocations: 12 kB / 0.6084 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.5589, allocations: 20 kB / 0.6084 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005038/0.5594, allocations: 338.7 kB / 0.6087 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/0.5602, allocations: 492.3 kB / 0.6092 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.5602, allocations: 4 kB / 0.6092 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.5603, allocations: 0 / 0.6092 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/0.5603, allocations: 20.77 kB / 0.6092 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.5621, allocations: 1.254 MB / 0.6105 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.5625, allocations: 235.3 kB / 0.6107 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.5627, allocations: 105.4 kB / 0.6108 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.5627, allocations: 10.94 kB / 0.6108 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.5627, allocations: 30.56 kB / 0.6108 GB, free: 11.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.074e-06/0.5628, allocations: 4 kB / 0.6108 GB, free: 11.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005573/0.5633, allocations: 258.7 kB / 0.6111 GB, free: 10.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.5634, allocations: 106.8 kB / 0.6112 GB, free: 10.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.5636, allocations: 182.4 kB / 0.6113 GB, free: 10.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.5636, allocations: 25.7 kB / 0.6114 GB, free: 10.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.5637, allocations: 218.7 kB / 0.6116 GB, free: 10.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.5638, allocations: 62.09 kB / 0.6116 GB, free: 10.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.5638, allocations: 4.062 kB / 0.6116 GB, free: 10.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.5639, allocations: 327.1 kB / 0.612 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.5641, allocations: 99.91 kB / 0.6121 GB, free: 9.918 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.5643, allocations: 136.6 kB / 0.6122 GB, free: 9.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.5645, allocations: 113.4 kB / 0.6123 GB, free: 9.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5645, allocations: 0 / 0.6123 GB, free: 9.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005095/0.565, allocations: 280 kB / 0.6126 GB, free: 9.422 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5651, allocations: 4 kB / 0.6126 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.167e-05/0.5651, allocations: 35.91 kB / 0.6126 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5652, allocations: 0 / 0.6126 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.5654, allocations: 43.94 kB / 0.6126 GB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.5654, allocations: 4 kB / 0.6126 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.5656, allocations: 39.77 kB / 0.6127 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.5656, allocations: 11.98 kB / 0.6127 GB, free: 9.289 MB / 410.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.451e-05/0.5657, allocations: 112.9 kB / 0.6128 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004311/0.5662, allocations: 258 kB / 0.613 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.5663, allocations: 15.81 kB / 0.6131 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.5668, allocations: 333 kB / 0.6134 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5668, allocations: 7.953 kB / 0.6134 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5669, allocations: 0 / 0.6134 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.5669, allocations: 4 kB / 0.6134 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.5673, allocations: 314.9 kB / 0.6137 GB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.831e-05/0.5674, allocations: 31.97 kB / 0.6137 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.5676, allocations: 35.91 kB / 0.6138 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.5676, allocations: 3.938 kB / 0.6138 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.5676, allocations: 11.5 kB / 0.6138 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5676, allocations: 0 / 0.6138 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5676, allocations: 3.984 kB / 0.6138 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.5681, allocations: 0.5176 MB / 0.6143 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.5682, allocations: 92.86 kB / 0.6144 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.5682, allocations: 7.953 kB / 0.6144 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.5685, allocations: 23.97 kB / 0.6144 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.5686, allocations: 23.59 kB / 0.6144 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.5686, allocations: 8 kB / 0.6144 GB, free: 7.531 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.5687, allocations: 159 kB / 0.6146 GB, free: 7.398 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5687, allocations: 0 / 0.6146 GB, free: 7.398 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005601/0.5693, allocations: 142.9 kB / 0.6147 GB, free: 7.262 MB / 410.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.001004/0.5703, allocations: 1.293 MB / 0.616 GB, free: 5.961 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004948/0.5708, allocations: 467 kB / 0.6164 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5708, allocations: 7.938 kB / 0.6164 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.5711, allocations: 349.5 kB / 0.6168 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.5715, allocations: 23.75 kB / 0.6168 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.5729, allocations: 0.6629 MB / 0.6174 GB, free: 4.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.5733, allocations: 0.8591 MB / 0.6183 GB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.443e-05/0.5734, allocations: 21.19 kB / 0.6183 GB, free: 3.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.5735, allocations: 108.1 kB / 0.6184 GB, free: 3.473 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5735, allocations: 0 / 0.6184 GB, free: 3.473 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.5988, allocations: 6.174 MB / 0.6244 GB, free: 13.34 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.599, allocations: 189.9 kB / 0.6246 GB, free: 13.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.378, allocations: 0 / 0.6246 GB, free: 13.14 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat