Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.518/1.518, allocations: 251.9 MB / 0.51 GB, free: 4.758 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005649, allocations: 16 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.5655, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005094/0.5706, allocations: 3.913 MB / 0.7318 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.5716, allocations: 0.7024 MB / 0.7325 GB, free: 6.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.5717, allocations: 3.938 kB / 0.7325 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.5719, allocations: 19.89 kB / 0.7325 GB, free: 6.762 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.749e-05/0.5719, allocations: 35.92 kB / 0.7325 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.5724, allocations: 135.6 kB / 0.7327 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.5725, allocations: 103.8 kB / 0.7328 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.5727, allocations: 21.09 kB / 0.7328 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.5728, allocations: 79.69 kB / 0.7329 GB, free: 6.395 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.917e-05/0.5729, allocations: 63.75 kB / 0.7329 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.573, allocations: 8 kB / 0.7329 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.5733, allocations: 123.8 kB / 0.733 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.5733, allocations: 27.89 kB / 0.7331 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.979e-05/0.5733, allocations: 45.64 kB / 0.7331 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.5736, allocations: 153.6 kB / 0.7333 GB, free: 5.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.5736, allocations: 0 / 0.7333 GB, free: 5.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5736, allocations: 4 kB / 0.7333 GB, free: 5.973 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.5736, allocations: 0 / 0.7333 GB, free: 5.973 MB / 0.545 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.0008443/0.5745, allocations: 466.8 kB / 0.7337 GB, free: 5.469 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.5745, allocations: 15.97 kB / 0.7337 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.5746, allocations: 7.906 kB / 0.7337 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.5747, allocations: 178.9 kB / 0.7339 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.5747, allocations: 8 kB / 0.7339 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.5748, allocations: 12 kB / 0.7339 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.5751, allocations: 133.6 kB / 0.7341 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5751, allocations: 4 kB / 0.7341 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.5752, allocations: 7.953 kB / 0.7341 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5752, allocations: 7.938 kB / 0.7341 GB, free: 5.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.5756, allocations: 161.9 kB / 0.7342 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009642/0.5766, allocations: 476.4 kB / 0.7347 GB, free: 4.383 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.5769, allocations: 130.5 kB / 0.7348 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.5783, allocations: 0.9686 MB / 0.7357 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5783, allocations: 30.56 kB / 0.7358 GB, free: 3.102 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.5783, allocations: 0 / 0.7358 GB, free: 3.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006892/0.579, allocations: 249.6 kB / 0.736 GB, free: 2.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.5791, allocations: 55.41 kB / 0.7361 GB, free: 2.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.5792, allocations: 160.8 kB / 0.7362 GB, free: 2.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5792, allocations: 29.7 kB / 0.7363 GB, free: 2.586 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.5793, allocations: 108.3 kB / 0.7364 GB, free: 2.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.5794, allocations: 47.44 kB / 0.7364 GB, free: 2.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.5794, allocations: 4 kB / 0.7364 GB, free: 2.426 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5795, allocations: 326.8 kB / 0.7367 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.5797, allocations: 83.94 kB / 0.7368 GB, free: 2.016 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.58, allocations: 123.3 kB / 0.7369 GB, free: 1.883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.5802, allocations: 93.78 kB / 0.737 GB, free: 1.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5802, allocations: 0 / 0.737 GB, free: 1.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005607/0.5808, allocations: 264.2 kB / 0.7373 GB, free: 1.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5808, allocations: 8 kB / 0.7373 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5808, allocations: 3.984 kB / 0.7373 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5809, allocations: 4 kB / 0.7373 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.5811, allocations: 71.91 kB / 0.7373 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5811, allocations: 0 / 0.7373 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.5813, allocations: 35.73 kB / 0.7374 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.5813, allocations: 8 kB / 0.7374 GB, free: 1.402 MB / 0.545 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 0.0001305/0.5815, allocations: 144.8 kB / 0.7375 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.5815, allocations: 11.91 kB / 0.7375 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/0.582, allocations: 190.9 kB / 0.7377 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.582, allocations: 0 / 0.7377 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5821, allocations: 3.938 kB / 0.7377 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5821, allocations: 0 / 0.7377 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.5823, allocations: 221.5 kB / 0.7379 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5823, allocations: 0 / 0.7379 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.5825, allocations: 35.97 kB / 0.738 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.5825, allocations: 4 kB / 0.738 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.5825, allocations: 4 kB / 0.738 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5825, allocations: 0 / 0.738 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5825, allocations: 0 / 0.738 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.583, allocations: 279.2 kB / 0.7382 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.5831, allocations: 100.9 kB / 0.7383 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.5831, allocations: 7.984 kB / 0.7383 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.5832, allocations: 23.98 kB / 0.7384 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.5833, allocations: 7.984 kB / 0.7384 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.5833, allocations: 0 / 0.7384 GB, free: 292 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000104/0.5834, allocations: 116 kB / 0.7385 GB, free: 176 kB / 0.545 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5834, allocations: 0 / 0.7385 GB, free: 176 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003305/0.5838, allocations: 60.12 kB / 0.7385 GB, free: 116 kB / 0.545 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.0003072/0.5841, allocations: 158 kB / 0.7387 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.5846, allocations: 199.8 kB / 0.7389 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5846, allocations: 0 / 0.7389 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.5848, allocations: 80.08 kB / 0.739 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.5851, allocations: 18.75 kB / 0.739 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.5857, allocations: 361.6 kB / 0.7393 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.586, allocations: 0.7126 MB / 0.74 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.5861, allocations: 21.56 kB / 0.74 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.5861, allocations: 15.44 kB / 0.74 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5862, allocations: 0 / 0.74 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.005351/0.5915, allocations: 2.457 MB / 0.7424 GB, free: 12.08 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: