Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001559/0.001559, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002641/0.002641, allocations: 195.4 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.088/3.088, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.41 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3634, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006659/0.3701, allocations: 4.617 MB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3714, allocations: 0.8413 MB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.3714, allocations: 0 / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.3717, allocations: 23.83 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.3718, allocations: 27.77 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.3724, allocations: 151.5 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3726, allocations: 159.4 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3727, allocations: 20.89 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.3729, allocations: 75.69 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.373, allocations: 67.73 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.3731, allocations: 8 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.3734, allocations: 151.7 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.3734, allocations: 23.91 kB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.3735, allocations: 67.64 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.3739, allocations: 231.6 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3739, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.298e-06/0.3739, allocations: 3.984 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3739, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 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.0009482/0.3749, allocations: 480.6 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3749, allocations: 16.02 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.375, allocations: 8.844 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.3752, allocations: 180.2 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3752, allocations: 8.375 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.3752, allocations: 12.38 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.3756, allocations: 129.6 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3756, allocations: 0 / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.3756, allocations: 4 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3756, allocations: 0 / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.3761, allocations: 141.7 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.3771, allocations: 468.5 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.3774, allocations: 126.5 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.3777, allocations: 76.81 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/0.3791, allocations: 0.9685 MB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.3792, allocations: 38.56 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.3792, allocations: 0 / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0007037/0.3799, allocations: 205.4 kB / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.3799, allocations: 55.34 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.3801, allocations: 171.2 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3801, allocations: 29.7 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.3802, allocations: 108.3 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.3803, allocations: 43.44 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/0.3803, allocations: 45.7 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3805, allocations: 326.8 kB / 1.077 GB, free: 488 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.3807, allocations: 75.88 kB / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.381, allocations: 117.3 kB / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.3814, allocations: 178.1 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3814, allocations: 0 / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005802/0.382, allocations: 237.2 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3821, allocations: 8 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3821, allocations: 4.094 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3821, allocations: 3.938 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.3824, allocations: 59.91 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3824, allocations: 0 / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.3826, allocations: 35.75 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.3826, allocations: 4 kB / 1.078 GB, free: 15.74 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.3827, allocations: 125.8 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.3828, allocations: 15.81 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.3832, allocations: 187.2 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3833, allocations: 0 / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3833, allocations: 0 / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3833, allocations: 0 / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.3835, allocations: 209.6 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3835, allocations: 4 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.3837, allocations: 35.91 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3837, allocations: 0 / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3837, allocations: 3.938 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3837, allocations: 0 / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3837, allocations: 4 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.3842, allocations: 267.1 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.3843, allocations: 96.91 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.3843, allocations: 3.938 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3844, allocations: 15.98 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.3845, allocations: 7.984 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3845, allocations: 4 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.726e-05/0.3846, allocations: 116.9 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.763e-06/0.3846, allocations: 4 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003531/0.385, allocations: 63.98 kB / 1.079 GB, free: 14.5 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003303/0.3853, allocations: 161.4 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005029/0.3858, allocations: 171.8 kB / 1.079 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3858, allocations: 0 / 1.079 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.386, allocations: 67.89 kB / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.3864, allocations: 24.17 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.387, allocations: 279 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.3872, allocations: 0.7009 MB / 1.08 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.3873, allocations: 25.44 kB / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.3874, allocations: 15.44 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of SimCode: time 2.545e-06/0.3874, allocations: 0 / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.005666/0.3931, allocations: 2.559 MB / 1.083 GB, free: 10.48 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)