Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009902/0.0009901, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007361/0.007362, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.534/1.534, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.538/1.538, allocations: 252 MB / 0.5105 GB, free: 4.66 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.0005876/0.0005873, allocations: 16 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.5763, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01751/0.5939, allocations: 13.9 MB / 0.7423 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005773/0.5997, allocations: 3.59 MB / 0.7458 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006044/0.6004, allocations: 11.94 kB / 0.7458 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.6011, allocations: 163.1 kB / 0.746 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.6028, allocations: 0.5444 MB / 0.7465 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009741/0.6038, allocations: 326.5 kB / 0.7468 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001671/0.6055, allocations: 1.442 MB / 0.7482 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004702/0.6059, allocations: 261.6 kB / 0.7485 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004765/0.6064, allocations: 306.6 kB / 0.7488 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.6068, allocations: 298.6 kB / 0.749 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.6069, allocations: 16 kB / 0.7491 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/0.6075, allocations: 243.4 kB / 0.7493 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.6076, allocations: 71.62 kB / 0.7494 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.6079, allocations: 208.8 kB / 0.7496 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.6085, allocations: 0.5528 MB / 0.7501 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6085, allocations: 0 / 0.7501 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6086, allocations: 3.938 kB / 0.7501 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.6086, allocations: 4 kB / 0.7501 GB, free: 5.277 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001176/0.6098, allocations: 0.6719 MB / 0.7508 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.6098, allocations: 8.031 kB / 0.7508 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.61, allocations: 48.38 kB / 0.7508 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007577/0.6108, allocations: 479 kB / 0.7513 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.6108, allocations: 24.69 kB / 0.7513 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.6109, allocations: 24 kB / 0.7513 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/0.6115, allocations: 314.2 kB / 0.7516 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.6115, allocations: 4 kB / 0.7516 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.6116, allocations: 12 kB / 0.7516 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.6116, allocations: 4 kB / 0.7516 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.6121, allocations: 202.1 kB / 0.7518 GB, free: 3.402 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.6139, allocations: 1.481 MB / 0.7533 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.6144, allocations: 178 kB / 0.7534 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.6146, allocations: 72.81 kB / 0.7535 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.6148, allocations: 89.09 kB / 0.7536 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/0.6151, allocations: 127.3 kB / 0.7537 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.6151, allocations: 4 kB / 0.7537 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006413/0.6157, allocations: 256.4 kB / 0.754 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.6158, allocations: 59.41 kB / 0.754 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.6161, allocations: 333.7 kB / 0.7543 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.6162, allocations: 29.7 kB / 0.7544 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.6163, allocations: 211.8 kB / 0.7546 GB, free: 400 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.6164, allocations: 55.25 kB / 0.7546 GB, free: 344 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.6165, allocations: 29.7 kB / 0.7547 GB, free: 308 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.6166, allocations: 338.8 kB / 0.755 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.6168, allocations: 83.95 kB / 0.7551 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.6171, allocations: 146.9 kB / 0.7552 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.6175, allocations: 262.2 kB / 0.7554 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.6175, allocations: 4 kB / 0.7554 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000619/0.6182, allocations: 318.6 kB / 0.7558 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.6182, allocations: 33.7 kB / 0.7558 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.6182, allocations: 8.297 kB / 0.7558 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.6182, allocations: 11.94 kB / 0.7558 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.6185, allocations: 59.91 kB / 0.7559 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.6185, allocations: 7.938 kB / 0.7559 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.6188, allocations: 43.61 kB / 0.7559 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.6188, allocations: 8 kB / 0.7559 GB, free: 14.91 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001749/0.619, allocations: 161.8 kB / 0.7561 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.6191, allocations: 31.62 kB / 0.7561 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004905/0.6196, allocations: 204.5 kB / 0.7563 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6196, allocations: 7.938 kB / 0.7563 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6196, allocations: 0 / 0.7563 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005377/0.6201, allocations: 0.4918 MB / 0.7568 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.6206, allocations: 341.4 kB / 0.7571 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.6206, allocations: 0 / 0.7571 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.6208, allocations: 35.97 kB / 0.7571 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.6208, allocations: 4 kB / 0.7571 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.6208, allocations: 4 kB / 0.7572 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6208, allocations: 3.938 kB / 0.7572 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6208, allocations: 0 / 0.7572 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.6215, allocations: 313.2 kB / 0.7575 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.6216, allocations: 124.7 kB / 0.7576 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.6216, allocations: 4 kB / 0.7576 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.6219, allocations: 27.91 kB / 0.7576 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.622, allocations: 15.98 kB / 0.7576 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.622, allocations: 4 kB / 0.7576 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002721/0.6223, allocations: 239.2 kB / 0.7579 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6223, allocations: 0 / 0.7579 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004434/0.6227, allocations: 120 kB / 0.758 GB, free: 12.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003728/0.6231, allocations: 183.2 kB / 0.7581 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000498/0.6236, allocations: 239.3 kB / 0.7584 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6236, allocations: 0 / 0.7584 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.6238, allocations: 83.88 kB / 0.7584 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.6249, allocations: 200.2 kB / 0.7586 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.6265, allocations: 0.9269 MB / 0.7595 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.6269, allocations: 0.7843 MB / 0.7603 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002731/0.6272, allocations: 71.17 kB / 0.7604 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.6273, allocations: 35.42 kB / 0.7604 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.6273, allocations: 0 / 0.7604 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of Templates: time 0.01239/0.6397, allocations: 6.457 MB / 0.7667 GB, free: 3.684 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) Environment - environmentSimulation: