Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.272/2.272, allocations: 253.2 MB / 260.6 MB, free: 7.406 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001474, allocations: 182.9 kB / 319.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.189/2.189, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001094, allocations: 93.16 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.562e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1966, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.372, allocations: 354.5 MB / 1.235 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/1.373, allocations: 91.75 kB / 1.235 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05052/1.423, allocations: 13.45 MB / 1.248 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.503e-06/1.423, allocations: 8 kB / 1.248 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.717e-06/1.423, allocations: 0 / 1.248 GB, free: 3.871 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001063/1.424, allocations: 452.4 kB / 1.249 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.424, allocations: 12.03 kB / 1.249 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/1.425, allocations: 15.77 kB / 1.249 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/1.425, allocations: 182.8 kB / 1.249 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/1.425, allocations: 4 kB / 1.249 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/1.425, allocations: 7.938 kB / 1.249 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003059/1.425, allocations: 90.34 kB / 1.249 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/1.425, allocations: 83.39 kB / 1.249 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.425, allocations: 0 / 1.249 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/1.425, allocations: 4 kB / 1.249 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.425, allocations: 0 / 1.249 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/1.427, allocations: 443.5 kB / 1.249 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/1.427, allocations: 96.06 kB / 1.249 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/1.427, allocations: 43.3 kB / 1.249 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002091/1.429, allocations: 0.9701 MB / 1.25 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/1.429, allocations: 30.56 kB / 1.25 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 5.2e-06/1.429, allocations: 0 / 1.25 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0006482/1.43, allocations: 141.7 kB / 1.251 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.43, allocations: 55.41 kB / 1.251 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/1.43, allocations: 141.5 kB / 1.251 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/1.43, allocations: 25.7 kB / 1.251 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/1.43, allocations: 103 kB / 1.251 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/1.43, allocations: 49.92 kB / 1.251 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/1.43, allocations: 0 / 1.251 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.431, allocations: 320.7 kB / 1.251 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/1.431, allocations: 51.88 kB / 1.251 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/1.431, allocations: 79.48 kB / 1.251 GB, free: 496 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/1.432, allocations: 122.6 kB / 1.251 GB, free: 400 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.432, allocations: 0 / 1.251 GB, free: 400 kB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001121/1.433, allocations: 253.7 kB / 1.252 GB, free: 188 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.433, allocations: 13.52 kB / 1.252 GB, free: 176 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/1.433, allocations: 0 / 1.252 GB, free: 176 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.433, allocations: 0 / 1.252 GB, free: 176 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/1.434, allocations: 55.97 kB / 1.252 GB, free: 120 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.434, allocations: 4.797 kB / 1.252 GB, free: 116 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/1.434, allocations: 39.66 kB / 1.252 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/1.434, allocations: 15.67 kB / 1.252 GB, free: 64 kB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.6182/2.052, allocations: 104.9 kB / 1.252 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/2.052, allocations: 7.25 kB / 1.252 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008016/2.053, allocations: 143.6 kB / 1.252 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/2.053, allocations: 1.562 kB / 1.252 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/2.053, allocations: 1.438 kB / 1.252 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/2.053, allocations: 4.609 kB / 1.252 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/2.053, allocations: 186.1 kB / 1.252 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/2.053, allocations: 6.094 kB / 1.252 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/2.054, allocations: 34.34 kB / 1.252 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/2.054, allocations: 1.594 kB / 1.252 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/2.054, allocations: 0.75 kB / 1.252 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/2.054, allocations: 4.641 kB / 1.252 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.054, allocations: 0 / 1.252 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000686/2.055, allocations: 234.9 kB / 1.253 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/2.055, allocations: 95.28 kB / 1.253 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/2.055, allocations: 1.219 kB / 1.253 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/2.055, allocations: 16.36 kB / 1.253 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/2.055, allocations: 13.7 kB / 1.253 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/2.055, allocations: 3.062 kB / 1.253 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001219/2.055, allocations: 106.8 kB / 1.253 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.61e-07/2.055, allocations: 0 / 1.253 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005595/2.056, allocations: 59.8 kB / 1.253 GB, free: 308.1 MB / 0.8542 GB 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004391/2.056, allocations: 180.9 kB / 1.253 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004471/2.057, allocations: 112.9 kB / 1.253 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/2.057, allocations: 0 / 1.253 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/2.057, allocations: 43.2 kB / 1.253 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/2.057, allocations: 17.67 kB / 1.253 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/2.058, allocations: 141.7 kB / 1.253 GB, free: 308 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/2.058, allocations: 0.7069 MB / 1.254 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001984/2.058, allocations: 23.2 kB / 1.254 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/2.058, allocations: 18.88 kB / 1.254 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/2.058, allocations: 0 / 1.254 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.009491/2.068, allocations: 2.416 MB / 1.256 GB, free: 307.2 MB / 0.8542 GB