Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.669/4.669, allocations: 0.5623 GB / 0.5769 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002381/0.00238, allocations: 360.3 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.857/3.857, allocations: 410.7 MB / 1.112 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001749/0.001748, allocations: 182.1 kB / 1.225 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005326, allocations: 12 kB / 1.348 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/0.5643, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004201/0.5686, allocations: 4.099 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009031/0.5695, allocations: 0.757 MB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.5696, allocations: 4 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.5697, allocations: 20.48 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.962e-05/0.5698, allocations: 30.22 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.5702, allocations: 132.6 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.5703, allocations: 155.4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.939e-05/0.5704, allocations: 17.75 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.5706, allocations: 67.7 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.301e-05/0.5707, allocations: 75.72 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.5707, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.571, allocations: 120.3 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.5711, allocations: 23.91 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.5711, allocations: 46.77 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.5713, allocations: 157.7 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.326e-06/0.5714, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.927e-06/0.5714, allocations: 1.625 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.163e-06/0.5714, allocations: 0 / 1.466 GB, free: 278.7 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.0007286/0.5721, allocations: 470.9 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.5722, allocations: 11.62 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.5722, allocations: 19.77 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.417e-05/0.5723, allocations: 183.6 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.5724, allocations: 8 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.5724, allocations: 13.41 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.5728, allocations: 130.9 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.572e-06/0.5728, allocations: 1.5 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.5728, allocations: 1.875 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.5728, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.5733, allocations: 171.7 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/0.5743, allocations: 461.6 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.5746, allocations: 140.4 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.5748, allocations: 79.66 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/0.5761, allocations: 0.9682 MB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.5762, allocations: 31.91 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.306e-06/0.5762, allocations: 0 / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0007658/0.577, allocations: 239.6 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.577, allocations: 56.88 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.5771, allocations: 167 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.5772, allocations: 29.7 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.5772, allocations: 113.3 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.5773, allocations: 43.39 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.5773, allocations: 4 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.5774, allocations: 327.8 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.5776, allocations: 83.33 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.5779, allocations: 121.1 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.5782, allocations: 91.59 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5782, allocations: 0 / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006543/0.5789, allocations: 268.5 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.5789, allocations: 14.53 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.471e-06/0.5789, allocations: 0 / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.579, allocations: 4 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.5793, allocations: 59.89 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5793, allocations: 4 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.5795, allocations: 37.27 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.5795, allocations: 5.781 kB / 1.47 GB, free: 274.1 MB / 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 () * Number of clocked 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 8.744e-05/0.5796, allocations: 129.7 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.539e-05/0.5797, allocations: 15.81 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.5803, allocations: 196.1 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.962e-06/0.5803, allocations: 7.734 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5803, allocations: 0 / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5803, allocations: 7.984 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.5805, allocations: 218.3 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-06/0.5805, allocations: 0 / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.5807, allocations: 30.08 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.356e-06/0.5808, allocations: 7.938 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.5808, allocations: 7.984 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.5808, allocations: 5.219 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.879e-06/0.5808, allocations: 0 / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.5813, allocations: 273.1 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.5814, allocations: 100.9 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.5814, allocations: 4 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.5816, allocations: 27.17 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.5817, allocations: 11.92 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.5817, allocations: 3.984 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7e-05/0.5818, allocations: 115.2 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.78e-07/0.5818, allocations: 0 / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000401/0.5822, allocations: 64.27 kB / 1.472 GB, free: 272.8 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 () * Number of clocked 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.0002466/0.5824, allocations: 164.2 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005601/0.583, allocations: 190.6 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.583, allocations: 1.5 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.5833, allocations: 77.11 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.5837, allocations: 21.64 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.5842, allocations: 363.2 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.5844, allocations: 0.7061 MB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.5845, allocations: 26.77 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.5846, allocations: 19.42 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.504e-06/0.5846, allocations: 0 / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.006353/0.591, allocations: 2.466 MB / 1.476 GB, free: 269 MB / 0.8542 GB