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.001375/0.001376, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.492/1.492, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.66/1.66, allocations: 251.7 MB / 0.5092 GB, free: 3.199 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.001471/0.001471, allocations: 75.89 kB / 0.6223 GB, free: 1.527 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.5452, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01524/0.5605, allocations: 14.45 MB / 0.7386 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005337/0.5658, allocations: 3.609 MB / 0.7421 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005048/0.5664, allocations: 15.94 kB / 0.7422 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.5671, allocations: 202.7 kB / 0.7423 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.5686, allocations: 0.5829 MB / 0.7429 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008635/0.5695, allocations: 362.7 kB / 0.7433 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.5706, allocations: 1.064 MB / 0.7443 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004145/0.5711, allocations: 313.8 kB / 0.7446 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009339/0.572, allocations: 396.3 kB / 0.745 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.5724, allocations: 302.6 kB / 0.7453 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.5725, allocations: 32 kB / 0.7453 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.573, allocations: 263.5 kB / 0.7455 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.5732, allocations: 95.61 kB / 0.7456 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.5734, allocations: 207 kB / 0.7458 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007215/0.5741, allocations: 0.5725 MB / 0.7464 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.5741, allocations: 0 / 0.7464 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5741, allocations: 0 / 0.7464 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.5742, allocations: 0 / 0.7464 GB, free: 6.441 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.001162/0.5753, allocations: 0.7379 MB / 0.7471 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.5754, allocations: 16.03 kB / 0.7471 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.5756, allocations: 44.47 kB / 0.7472 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.5763, allocations: 439 kB / 0.7476 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.5763, allocations: 20.94 kB / 0.7476 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.5764, allocations: 31.94 kB / 0.7476 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.577, allocations: 310.2 kB / 0.7479 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.577, allocations: 0 / 0.7479 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.577, allocations: 8 kB / 0.7479 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.5771, allocations: 11.94 kB / 0.748 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.5775, allocations: 194.1 kB / 0.7481 GB, free: 4.543 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.001713/0.5792, allocations: 1.477 MB / 0.7496 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.5797, allocations: 158.6 kB / 0.7497 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.5799, allocations: 68.83 kB / 0.7498 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.5801, allocations: 89.03 kB / 0.7499 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.5803, allocations: 127.3 kB / 0.75 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 4.218e-06/0.5804, allocations: 3.984 kB / 0.75 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006221/0.581, allocations: 229.1 kB / 0.7502 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.581, allocations: 55.34 kB / 0.7503 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.5814, allocations: 349.5 kB / 0.7506 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.5814, allocations: 33.7 kB / 0.7506 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.5816, allocations: 219.7 kB / 0.7509 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.5817, allocations: 47.36 kB / 0.7509 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.5817, allocations: 61.61 kB / 0.751 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5819, allocations: 334.8 kB / 0.7513 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.5821, allocations: 79.88 kB / 0.7514 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.5823, allocations: 141.4 kB / 0.7515 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.5827, allocations: 242.2 kB / 0.7517 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5827, allocations: 4 kB / 0.7517 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005811/0.5833, allocations: 310.6 kB / 0.752 GB, free: 264 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.5834, allocations: 37.7 kB / 0.7521 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5834, allocations: 0 / 0.7521 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5834, allocations: 4 kB / 0.7521 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.5837, allocations: 64.16 kB / 0.7521 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.5837, allocations: 4 kB / 0.7521 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.5839, allocations: 39.61 kB / 0.7522 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.584, allocations: 15.94 kB / 0.7522 GB, free: 92 kB / 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 (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.0001704/0.5841, allocations: 149.9 kB / 0.7523 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.5842, allocations: 39.56 kB / 0.7524 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.5847, allocations: 199.8 kB / 0.7526 GB, free: 15.69 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5847, allocations: 3.938 kB / 0.7526 GB, free: 15.68 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5847, allocations: 0 / 0.7526 GB, free: 15.68 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004933/0.5852, allocations: 487.7 kB / 0.753 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.5856, allocations: 345.3 kB / 0.7533 GB, free: 14.74 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.5856, allocations: 4 kB / 0.7534 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.5858, allocations: 31.92 kB / 0.7534 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5858, allocations: 4 kB / 0.7534 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.5859, allocations: 7.984 kB / 0.7534 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5859, allocations: 3.938 kB / 0.7534 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5859, allocations: 0 / 0.7534 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/0.5865, allocations: 280.5 kB / 0.7537 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.5866, allocations: 124.7 kB / 0.7538 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.5867, allocations: 8 kB / 0.7538 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.5869, allocations: 23.84 kB / 0.7538 GB, free: 14.22 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.587, allocations: 15.98 kB / 0.7538 GB, free: 14.21 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.587, allocations: 7.984 kB / 0.7538 GB, free: 14.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0002447/0.5873, allocations: 247.2 kB / 0.7541 GB, free: 13.96 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.924e-06/0.5873, allocations: 0 / 0.7541 GB, free: 13.96 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004531/0.5877, allocations: 116 kB / 0.7542 GB, free: 13.85 MB / 0.5763 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.0003997/0.5881, allocations: 199.1 kB / 0.7544 GB, free: 13.64 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0005119/0.5887, allocations: 247 kB / 0.7546 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5887, allocations: 0 / 0.7546 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.5889, allocations: 67.95 kB / 0.7547 GB, free: 13.32 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009784/0.5899, allocations: 215.2 kB / 0.7549 GB, free: 13.13 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.5914, allocations: 0.7349 MB / 0.7556 GB, free: 12.37 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.5918, allocations: 0.784 MB / 0.7564 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0002741/0.5921, allocations: 63.25 kB / 0.7564 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.5922, allocations: 35.44 kB / 0.7565 GB, free: 11.46 MB / 0.5763 GB Notification: Performance of SimCode: time 1.011e-06/0.5922, allocations: 0 / 0.7565 GB, free: 11.46 MB / 0.5763 GB Notification: Performance of Templates: time 0.01522/0.6074, allocations: 7.069 MB / 0.7634 GB, free: 4.5 MB / 0.5763 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (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)