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.00122/0.00122, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.00185/0.00185, allocations: 172.7 kB / 15.95 MB, free: 208 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.594/1.594, allocations: 205.4 MB / 222.1 MB, free: 5.867 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.553/1.553, allocations: 252 MB / 0.5102 GB, free: 4.809 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.0005188/0.0005191, allocations: 12 kB / 0.6243 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5404/0.541, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01539/0.5564, allocations: 13.22 MB / 0.741 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006922/0.5634, allocations: 3.37 MB / 0.7443 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008183/0.5643, allocations: 11.94 kB / 0.7443 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007816/0.5651, allocations: 151.1 kB / 0.7445 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.5667, allocations: 481.5 kB / 0.7449 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.5678, allocations: 268.9 kB / 0.7452 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.5697, allocations: 1.231 MB / 0.7464 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004954/0.5702, allocations: 242.1 kB / 0.7466 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.5708, allocations: 314.7 kB / 0.7469 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/0.5713, allocations: 278.8 kB / 0.7472 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.5714, allocations: 12 kB / 0.7472 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006024/0.572, allocations: 147.6 kB / 0.7473 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.5721, allocations: 67.73 kB / 0.7474 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.5723, allocations: 97.52 kB / 0.7475 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006467/0.5729, allocations: 422.9 kB / 0.7479 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.5729, allocations: 7.938 kB / 0.7479 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.573, allocations: 0 / 0.7479 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.573, allocations: 4 kB / 0.7479 GB, free: 7.098 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.001332/0.5743, allocations: 0.6678 MB / 0.7486 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5744, allocations: 8.031 kB / 0.7486 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.5746, allocations: 43.53 kB / 0.7486 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/0.5754, allocations: 457.9 kB / 0.749 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.5754, allocations: 20.56 kB / 0.7491 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.5755, allocations: 27.98 kB / 0.7491 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.576, allocations: 314.2 kB / 0.7494 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.5761, allocations: 0 / 0.7494 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.5761, allocations: 12 kB / 0.7494 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.5761, allocations: 8 kB / 0.7494 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.5766, allocations: 202.1 kB / 0.7496 GB, free: 5.246 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.001753/0.5783, allocations: 1.489 MB / 0.7511 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.5789, allocations: 162.6 kB / 0.7512 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.5792, allocations: 80.8 kB / 0.7513 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.5794, allocations: 85.11 kB / 0.7514 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004002/0.5798, allocations: 135.2 kB / 0.7515 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.5798, allocations: 0 / 0.7515 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0008504/0.5807, allocations: 237.2 kB / 0.7517 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.5807, allocations: 63.39 kB / 0.7518 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.5812, allocations: 325.7 kB / 0.7521 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.5813, allocations: 33.7 kB / 0.7521 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.5815, allocations: 223.6 kB / 0.7523 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.5815, allocations: 43.36 kB / 0.7524 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.5816, allocations: 8 kB / 0.7524 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5817, allocations: 342.8 kB / 0.7527 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.582, allocations: 87.88 kB / 0.7528 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.5823, allocations: 150.8 kB / 0.7529 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.5827, allocations: 120.8 kB / 0.7531 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5827, allocations: 0 / 0.7531 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008035/0.5835, allocations: 318.8 kB / 0.7534 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.005e-05/0.5836, allocations: 37.69 kB / 0.7534 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5836, allocations: 4 kB / 0.7534 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.5836, allocations: 4 kB / 0.7534 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.584, allocations: 59.91 kB / 0.7535 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.584, allocations: 4 kB / 0.7535 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.5844, allocations: 43.83 kB / 0.7535 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.5844, allocations: 8 kB / 0.7535 GB, free: 0.9688 MB / 0.5606 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.5847, allocations: 161.7 kB / 0.7537 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.5847, allocations: 31.62 kB / 0.7537 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005807/0.5853, allocations: 208.4 kB / 0.7539 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5853, allocations: 7.938 kB / 0.7539 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5854, allocations: 0 / 0.7539 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006236/0.586, allocations: 499.1 kB / 0.7544 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.5866, allocations: 357.3 kB / 0.7547 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5866, allocations: 0 / 0.7547 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.5868, allocations: 39.91 kB / 0.7548 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5868, allocations: 0 / 0.7548 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.5868, allocations: 8 kB / 0.7548 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5868, allocations: 0 / 0.7548 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5869, allocations: 0 / 0.7548 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000875/0.5877, allocations: 298.4 kB / 0.7551 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.5879, allocations: 124.8 kB / 0.7552 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.588, allocations: 4 kB / 0.7552 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.5883, allocations: 31.91 kB / 0.7552 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.5884, allocations: 15.98 kB / 0.7552 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.5885, allocations: 7.984 kB / 0.7552 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003307/0.5888, allocations: 235.1 kB / 0.7555 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5888, allocations: 0 / 0.7555 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000613/0.5894, allocations: 120 kB / 0.7556 GB, free: 14.67 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 (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.0003623/0.5898, allocations: 171.1 kB / 0.7557 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006583/0.5905, allocations: 239.1 kB / 0.756 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5905, allocations: 0 / 0.756 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.5907, allocations: 72.53 kB / 0.756 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.5921, allocations: 200.1 kB / 0.7562 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.5941, allocations: 0.9558 MB / 0.7572 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.5946, allocations: 0.7845 MB / 0.7579 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003882/0.595, allocations: 63.25 kB / 0.758 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.5951, allocations: 39.42 kB / 0.758 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.5951, allocations: 0 / 0.758 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.01287/0.608, allocations: 6.269 MB / 0.7641 GB, free: 5.926 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: