Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01454/0.01454, allocations: 164.7 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.819/1.819, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001946/0.001945, allocations: 114.5 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5206/0.5206, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004911, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1235, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.5886, allocations: 85.49 MB / 497.2 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/0.589, allocations: 93.19 kB / 497.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07378/0.6628, allocations: 14.27 MB / 0.4996 GB, free: 5.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6629, allocations: 0 / 0.4996 GB, free: 5.996 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.6629, allocations: 4 kB / 0.4996 GB, free: 5.992 MB / 346.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.001638/0.6646, allocations: 0.6194 MB / 0.5002 GB, free: 5.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.6647, allocations: 8.031 kB / 0.5002 GB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001981/0.6649, allocations: 88.77 kB / 0.5003 GB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.665, allocations: 39.53 kB / 0.5003 GB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.6656, allocations: 283.5 kB / 0.5006 GB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.6656, allocations: 29.56 kB / 0.5006 GB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.6657, allocations: 33.06 kB / 0.5006 GB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.6673, allocations: 0.5358 MB / 0.5012 GB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.6673, allocations: 4 kB / 0.5012 GB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/0.6674, allocations: 18.11 kB / 0.5012 GB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.881e-05/0.6675, allocations: 40.34 kB / 0.5012 GB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.6692, allocations: 0.5766 MB / 0.5018 GB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003226/0.6724, allocations: 1.196 MB / 0.503 GB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.6737, allocations: 381.4 kB / 0.5033 GB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/0.6738, allocations: 11.42 kB / 0.5033 GB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.6738, allocations: 30.75 kB / 0.5034 GB, free: 2.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.447e-06/0.6738, allocations: 0 / 0.5034 GB, free: 2.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001767/0.6756, allocations: 482.8 kB / 0.5038 GB, free: 2.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.6757, allocations: 51.5 kB / 0.5039 GB, free: 2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007912/0.6765, allocations: 410.7 kB / 0.5043 GB, free: 1.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.6766, allocations: 40.89 kB / 0.5043 GB, free: 1.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.6768, allocations: 189.2 kB / 0.5045 GB, free: 1.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.6769, allocations: 74.28 kB / 0.5046 GB, free: 1.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.677, allocations: 3.438 kB / 0.5046 GB, free: 1.422 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.6772, allocations: 349.7 kB / 0.5049 GB, free: 1.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.6777, allocations: 122.9 kB / 0.505 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.6781, allocations: 118.8 kB / 0.5051 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.6786, allocations: 136.8 kB / 0.5053 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6787, allocations: 0 / 0.5053 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001263/0.6799, allocations: 353.6 kB / 0.5056 GB, free: 444 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.68, allocations: 4 kB / 0.5056 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.68, allocations: 0 / 0.5056 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.68, allocations: 0 / 0.5056 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.6815, allocations: 155.8 kB / 0.5057 GB, free: 284 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00433/0.6859, allocations: 5.512 MB / 0.5111 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.6864, allocations: 55.08 kB / 0.5112 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.6865, allocations: 8 kB / 0.5112 GB, free: 10.57 MB / 362.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.0003755/0.6869, allocations: 200.5 kB / 0.5114 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.687, allocations: 31.62 kB / 0.5114 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.6886, allocations: 466.8 kB / 0.5119 GB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.6887, allocations: 4 kB / 0.5119 GB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6887, allocations: 0 / 0.5119 GB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.6887, allocations: 3.984 kB / 0.5119 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008206/0.6895, allocations: 373.3 kB / 0.5122 GB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.6896, allocations: 0 / 0.5122 GB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.691, allocations: 159.8 kB / 0.5124 GB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.691, allocations: 0 / 0.5124 GB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/0.6911, allocations: 7.562 kB / 0.5124 GB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004281/0.6954, allocations: 5.523 MB / 0.5178 GB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6955, allocations: 1.328 kB / 0.5178 GB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.6968, allocations: 449.7 kB / 0.5182 GB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.697, allocations: 116.6 kB / 0.5183 GB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/0.6971, allocations: 7.062 kB / 0.5183 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.6975, allocations: 15.55 kB / 0.5183 GB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.6976, allocations: 22.66 kB / 0.5184 GB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.6977, allocations: 11.98 kB / 0.5184 GB, free: 3.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006162/0.6983, allocations: 334.1 kB / 0.5187 GB, free: 2.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6983, allocations: 0 / 0.5187 GB, free: 2.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008471/0.6992, allocations: 153.6 kB / 0.5188 GB, free: 2.742 MB / 362.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.002195/0.7014, allocations: 1.14 MB / 0.5199 GB, free: 1.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.7035, allocations: 375 kB / 0.5203 GB, free: 1.277 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7035, allocations: 0 / 0.5203 GB, free: 1.277 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.705, allocations: 246.9 kB / 0.5205 GB, free: 1.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.7057, allocations: 90.05 kB / 0.5206 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/0.7121, allocations: 2.628 MB / 0.5232 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.7127, allocations: 0.8606 MB / 0.524 GB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000414/0.7132, allocations: 83.22 kB / 0.5241 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.7134, allocations: 112.5 kB / 0.5242 GB, free: 13.68 MB / 378.7 MB Notification: Performance of SimCode: time 3.787e-06/0.7134, allocations: 0 / 0.5242 GB, free: 13.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04696/0.7604, allocations: 11.97 MB / 0.5359 GB, free: 1.816 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000395/0.7609, allocations: 250.5 kB / 0.5362 GB, free: 1.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.216/3.977, allocations: 3.938 kB / 0.5362 GB, free: 1.477 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat