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.001484/0.001484, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001545/0.001545, allocations: 177.3 kB / 15.94 MB, free: 228 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.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.478/1.478, allocations: 251.9 MB / 0.51 GB, free: 4.902 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.0005286/0.0005286, allocations: 19.69 kB / 0.6241 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5552, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01542/0.5707, allocations: 12.15 MB / 0.7398 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005702/0.5765, allocations: 3.133 MB / 0.7429 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000759/0.5773, allocations: 11.94 kB / 0.7429 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009399/0.5782, allocations: 207 kB / 0.7431 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.5805, allocations: 0.5686 MB / 0.7436 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.5821, allocations: 448.7 kB / 0.7441 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.5835, allocations: 0.64 MB / 0.7447 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000518/0.584, allocations: 228.1 kB / 0.7449 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005938/0.5846, allocations: 267 kB / 0.7452 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.5851, allocations: 199.1 kB / 0.7454 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.133e-05/0.5851, allocations: 12 kB / 0.7454 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000637/0.5858, allocations: 167.7 kB / 0.7455 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.5859, allocations: 67.73 kB / 0.7456 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.5861, allocations: 97.52 kB / 0.7457 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.5867, allocations: 422.8 kB / 0.7461 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.5867, allocations: 0 / 0.7461 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5867, allocations: 0 / 0.7461 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.5867, allocations: 3.938 kB / 0.7461 GB, free: 8.828 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.001242/0.588, allocations: 0.6718 MB / 0.7468 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.588, allocations: 12.03 kB / 0.7468 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.5882, allocations: 47.44 kB / 0.7468 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006938/0.5889, allocations: 418.1 kB / 0.7472 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.589, allocations: 28.52 kB / 0.7472 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.589, allocations: 24 kB / 0.7473 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.5896, allocations: 310.2 kB / 0.7476 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5897, allocations: 0 / 0.7476 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.5897, allocations: 19.94 kB / 0.7476 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.5897, allocations: 8 kB / 0.7476 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.5902, allocations: 198.1 kB / 0.7478 GB, free: 7 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.001901/0.5921, allocations: 1.497 MB / 0.7492 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.5926, allocations: 174.5 kB / 0.7494 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.5928, allocations: 89.09 kB / 0.7495 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.5931, allocations: 127.3 kB / 0.7496 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.315e-06/0.5931, allocations: 0 / 0.7496 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006346/0.5937, allocations: 241.2 kB / 0.7498 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.5938, allocations: 67.33 kB / 0.7499 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.5942, allocations: 349.6 kB / 0.7502 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.5942, allocations: 29.7 kB / 0.7503 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.5944, allocations: 215.7 kB / 0.7505 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.5944, allocations: 59.23 kB / 0.7505 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.5945, allocations: 8 kB / 0.7505 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5946, allocations: 342.8 kB / 0.7509 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.5948, allocations: 75.95 kB / 0.7509 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.595, allocations: 150.9 kB / 0.7511 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.5953, allocations: 120.9 kB / 0.7512 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5953, allocations: 3.984 kB / 0.7512 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006164/0.5959, allocations: 318.7 kB / 0.7515 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.596, allocations: 33.7 kB / 0.7515 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.596, allocations: 0 / 0.7515 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.596, allocations: 7.938 kB / 0.7515 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.5963, allocations: 64.27 kB / 0.7516 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.5963, allocations: 7.938 kB / 0.7516 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.5966, allocations: 43.67 kB / 0.7516 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.5966, allocations: 8 kB / 0.7517 GB, free: 2.758 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.000177/0.5968, allocations: 165.7 kB / 0.7518 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.5968, allocations: 35.56 kB / 0.7518 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.5973, allocations: 204.5 kB / 0.752 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5973, allocations: 4 kB / 0.752 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5973, allocations: 0 / 0.752 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004983/0.5978, allocations: 0.4953 MB / 0.7525 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.5983, allocations: 345.4 kB / 0.7529 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5983, allocations: 4 kB / 0.7529 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.5985, allocations: 39.97 kB / 0.7529 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5985, allocations: 0 / 0.7529 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.5985, allocations: 0 / 0.7529 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5985, allocations: 8 kB / 0.7529 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5985, allocations: 0 / 0.7529 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.5991, allocations: 308.4 kB / 0.7532 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.5993, allocations: 132.7 kB / 0.7533 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.5994, allocations: 4 kB / 0.7533 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.5996, allocations: 15.98 kB / 0.7533 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.5997, allocations: 19.97 kB / 0.7534 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.5997, allocations: 7.984 kB / 0.7534 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002588/0.6, allocations: 255.2 kB / 0.7536 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6, allocations: 0 / 0.7536 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004643/0.6004, allocations: 128 kB / 0.7537 GB, free: 436 kB / 0.5606 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.0003185/0.6008, allocations: 179.2 kB / 0.7539 GB, free: 248 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005472/0.6013, allocations: 239.6 kB / 0.7541 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/0.6014, allocations: 4 kB / 0.7541 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.6016, allocations: 71.95 kB / 0.7542 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/0.6025, allocations: 200 kB / 0.7544 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.604, allocations: 0.9557 MB / 0.7553 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.6044, allocations: 0.8001 MB / 0.7561 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002734/0.6047, allocations: 55.27 kB / 0.7562 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.6048, allocations: 31.44 kB / 0.7562 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.6048, allocations: 0 / 0.7562 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.01278/0.6176, allocations: 6.683 MB / 0.7627 GB, free: 7.258 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: