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.001069/0.001069, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001339/0.001339, allocations: 187.3 kB / 16.25 MB, free: 6.145 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.467/1.467, allocations: 205.1 MB / 222.1 MB, free: 4.574 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.536/1.536, allocations: 251.6 MB / 0.5089 GB, free: 3.266 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.001333/0.001333, allocations: 68.47 kB / 0.6217 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5937/0.5951, allocations: 104.7 MB / 0.724 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01422/0.6093, allocations: 14.39 MB / 0.738 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005821/0.6152, allocations: 3.57 MB / 0.7415 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007366/0.616, allocations: 19.88 kB / 0.7415 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007114/0.6168, allocations: 171.1 kB / 0.7417 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.6184, allocations: 0.5522 MB / 0.7422 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009548/0.6194, allocations: 333.1 kB / 0.7426 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.6207, allocations: 1.079 MB / 0.7436 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004533/0.6212, allocations: 317.8 kB / 0.7439 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009053/0.6221, allocations: 376.4 kB / 0.7443 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.6224, allocations: 318.6 kB / 0.7446 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.6225, allocations: 32 kB / 0.7446 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005381/0.623, allocations: 259.4 kB / 0.7449 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.6232, allocations: 91.61 kB / 0.7449 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.6234, allocations: 211 kB / 0.7451 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006951/0.6241, allocations: 0.5842 MB / 0.7457 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6241, allocations: 4 kB / 0.7457 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6241, allocations: 0 / 0.7457 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.6241, allocations: 0 / 0.7457 GB, free: 6.785 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.001132/0.6252, allocations: 0.7379 MB / 0.7464 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.6253, allocations: 8.031 kB / 0.7464 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.6255, allocations: 44.47 kB / 0.7465 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007018/0.6262, allocations: 471.1 kB / 0.7469 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.6262, allocations: 24.67 kB / 0.747 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.6263, allocations: 31.91 kB / 0.747 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.6269, allocations: 306.2 kB / 0.7473 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.6269, allocations: 4 kB / 0.7473 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.6269, allocations: 12 kB / 0.7473 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.627, allocations: 8 kB / 0.7473 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.6274, allocations: 190.1 kB / 0.7475 GB, free: 4.863 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.00171/0.6291, allocations: 1.466 MB / 0.7489 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.6296, allocations: 158.6 kB / 0.7491 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.6297, allocations: 68.81 kB / 0.7491 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.6299, allocations: 89.11 kB / 0.7492 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.6302, allocations: 119.3 kB / 0.7493 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.6302, allocations: 0 / 0.7493 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006045/0.6308, allocations: 244.8 kB / 0.7496 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.6309, allocations: 59.39 kB / 0.7496 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.6312, allocations: 333.6 kB / 0.7499 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.6312, allocations: 33.7 kB / 0.75 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.6314, allocations: 215.7 kB / 0.7502 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.6315, allocations: 51.27 kB / 0.7502 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/0.6315, allocations: 53.7 kB / 0.7503 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6317, allocations: 346.8 kB / 0.7506 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.6319, allocations: 67.95 kB / 0.7507 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.6321, allocations: 142.8 kB / 0.7508 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.6325, allocations: 254.2 kB / 0.7511 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6325, allocations: 7.938 kB / 0.7511 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005552/0.6331, allocations: 310.7 kB / 0.7514 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.6332, allocations: 33.7 kB / 0.7514 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6332, allocations: 0 / 0.7514 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.6332, allocations: 7.938 kB / 0.7514 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.6334, allocations: 55.91 kB / 0.7515 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.6334, allocations: 7.938 kB / 0.7515 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.6337, allocations: 43.94 kB / 0.7515 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.6337, allocations: 16 kB / 0.7515 GB, free: 436 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.0001546/0.6339, allocations: 153.8 kB / 0.7517 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.6339, allocations: 35.61 kB / 0.7517 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.6344, allocations: 184.5 kB / 0.7519 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.6344, allocations: 11.94 kB / 0.7519 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.6344, allocations: 0 / 0.7519 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004883/0.6349, allocations: 487.6 kB / 0.7523 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.6354, allocations: 353.3 kB / 0.7527 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6354, allocations: 0 / 0.7527 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.6355, allocations: 27.98 kB / 0.7527 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6355, allocations: 0 / 0.7527 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.6356, allocations: 4 kB / 0.7527 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6356, allocations: 3.938 kB / 0.7527 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6356, allocations: 4 kB / 0.7527 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.6362, allocations: 288.5 kB / 0.753 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.6363, allocations: 124.7 kB / 0.7531 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.6364, allocations: 4 kB / 0.7531 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.6366, allocations: 23.91 kB / 0.7531 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.6367, allocations: 15.98 kB / 0.7532 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.6367, allocations: 4 kB / 0.7532 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002228/0.6369, allocations: 239.2 kB / 0.7534 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6369, allocations: 0 / 0.7534 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004058/0.6374, allocations: 120 kB / 0.7535 GB, free: 14.19 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.0003737/0.6377, allocations: 187.1 kB / 0.7537 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.6383, allocations: 241.7 kB / 0.7539 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6383, allocations: 0 / 0.7539 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.6385, allocations: 79.83 kB / 0.754 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.6394, allocations: 207 kB / 0.7542 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.6409, allocations: 0.8481 MB / 0.755 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.6412, allocations: 0.7879 MB / 0.7558 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.6415, allocations: 63.25 kB / 0.7558 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.6416, allocations: 35.36 kB / 0.7559 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.6416, allocations: 0 / 0.7559 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.01243/0.654, allocations: 6.724 MB / 0.7624 GB, free: 5.086 MB / 0.5762 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)