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.001359/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00239/0.00239, allocations: 193.6 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 222 MB, free: 4.758 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.527/1.527, allocations: 251.6 MB / 0.5088 GB, free: 3.316 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.001578/0.001578, allocations: 63.91 kB / 0.6216 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.5543, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00651/0.5609, allocations: 4.624 MB / 0.7283 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.562, allocations: 0.8343 MB / 0.7291 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.5621, allocations: 0 / 0.7291 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.5624, allocations: 27.83 kB / 0.7292 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.5625, allocations: 31.77 kB / 0.7292 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.563, allocations: 147.5 kB / 0.7293 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.5632, allocations: 163.4 kB / 0.7295 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.5633, allocations: 21.11 kB / 0.7295 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.5635, allocations: 71.75 kB / 0.7296 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.5636, allocations: 71.67 kB / 0.7297 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.5636, allocations: 8 kB / 0.7297 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.564, allocations: 151.7 kB / 0.7298 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.564, allocations: 27.91 kB / 0.7298 GB, free: 6.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.973e-05/0.5641, allocations: 59.7 kB / 0.7299 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.5644, allocations: 233.3 kB / 0.7301 GB, free: 6.641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5644, allocations: 0 / 0.7301 GB, free: 6.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5644, allocations: 0 / 0.7301 GB, free: 6.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.5644, allocations: 0 / 0.7301 GB, free: 6.641 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.0009054/0.5654, allocations: 478.9 kB / 0.7306 GB, free: 6.125 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5654, allocations: 8.031 kB / 0.7306 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.5655, allocations: 20.69 kB / 0.7306 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.5656, allocations: 187.4 kB / 0.7308 GB, free: 5.879 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.5656, allocations: 8.375 kB / 0.7308 GB, free: 5.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.5657, allocations: 12.38 kB / 0.7308 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.566, allocations: 117.8 kB / 0.7309 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.566, allocations: 0 / 0.7309 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.5661, allocations: 8 kB / 0.7309 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5661, allocations: 0 / 0.7309 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.5665, allocations: 143.8 kB / 0.7311 GB, free: 5.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009629/0.5675, allocations: 472.4 kB / 0.7315 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.5677, allocations: 122.5 kB / 0.7316 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.5679, allocations: 76.81 kB / 0.7317 GB, free: 4.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.5693, allocations: 0.9645 MB / 0.7326 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5693, allocations: 30.56 kB / 0.7327 GB, free: 3.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.5693, allocations: 4 kB / 0.7327 GB, free: 3.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006502/0.57, allocations: 217.2 kB / 0.7329 GB, free: 3.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.5701, allocations: 51.41 kB / 0.7329 GB, free: 3.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.5702, allocations: 164 kB / 0.7331 GB, free: 3.277 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.5703, allocations: 37.7 kB / 0.7331 GB, free: 3.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.5704, allocations: 108.3 kB / 0.7332 GB, free: 3.125 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.5704, allocations: 43.34 kB / 0.7333 GB, free: 3.082 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/0.5705, allocations: 49.7 kB / 0.7333 GB, free: 3.027 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5706, allocations: 326.8 kB / 0.7336 GB, free: 2.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.5709, allocations: 75.88 kB / 0.7337 GB, free: 2.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.5711, allocations: 107.4 kB / 0.7338 GB, free: 2.508 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.5715, allocations: 175.3 kB / 0.734 GB, free: 2.324 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5715, allocations: 0 / 0.734 GB, free: 2.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005303/0.5721, allocations: 236.5 kB / 0.7342 GB, free: 2.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5721, allocations: 11.88 kB / 0.7342 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5721, allocations: 0 / 0.7342 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5721, allocations: 12.03 kB / 0.7342 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.5724, allocations: 59.89 kB / 0.7343 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.5724, allocations: 4 kB / 0.7343 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.5726, allocations: 27.73 kB / 0.7343 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.5726, allocations: 8 kB / 0.7343 GB, free: 1.969 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.5727, allocations: 129.7 kB / 0.7344 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.5728, allocations: 11.91 kB / 0.7344 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004736/0.5733, allocations: 174.8 kB / 0.7346 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.5733, allocations: 7.984 kB / 0.7346 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5733, allocations: 0 / 0.7346 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5733, allocations: 0 / 0.7346 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.5736, allocations: 209.6 kB / 0.7348 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5736, allocations: 0 / 0.7348 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.5737, allocations: 35.91 kB / 0.7348 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5738, allocations: 7.938 kB / 0.7349 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.5738, allocations: 3.938 kB / 0.7349 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5738, allocations: 0 / 0.7349 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5738, allocations: 0 / 0.7349 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.5742, allocations: 263.3 kB / 0.7351 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.5743, allocations: 96.94 kB / 0.7352 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.5743, allocations: 3.938 kB / 0.7352 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.5745, allocations: 19.97 kB / 0.7352 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.5745, allocations: 7.984 kB / 0.7352 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.5745, allocations: 4 kB / 0.7352 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.5746, allocations: 120 kB / 0.7354 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5746, allocations: 0 / 0.7354 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003425/0.575, allocations: 52.38 kB / 0.7354 GB, free: 0.7383 MB / 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 (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.0003234/0.5753, allocations: 171 kB / 0.7356 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.5758, allocations: 171.8 kB / 0.7357 GB, free: 400 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5758, allocations: 0 / 0.7357 GB, free: 400 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.576, allocations: 75.81 kB / 0.7358 GB, free: 324 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.5764, allocations: 20.19 kB / 0.7358 GB, free: 304 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.5769, allocations: 282.9 kB / 0.7361 GB, free: 0 / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.5772, allocations: 0.7087 MB / 0.7368 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.5774, allocations: 21.02 kB / 0.7368 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.5774, allocations: 15.44 kB / 0.7368 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5774, allocations: 0 / 0.7368 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.005678/0.5831, allocations: 2.556 MB / 0.7393 GB, free: 12.7 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (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)