Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001544/0.001544, allocations: 104 kB / 15.6 MB, free: 148 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.001211/0.001211, allocations: 197.2 kB / 16.53 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 240.2 MB, free: 4.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 60.36 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01433/0.3433, allocations: 14.45 MB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005109/0.3485, allocations: 3.643 MB / 1.086 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005369/0.3491, allocations: 15.94 kB / 1.086 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.3497, allocations: 202.7 kB / 1.086 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.3512, allocations: 0.5907 MB / 1.087 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009082/0.3521, allocations: 385.5 kB / 1.087 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.3534, allocations: 1.091 MB / 1.088 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.3538, allocations: 320.5 kB / 1.088 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000929/0.3548, allocations: 393.8 kB / 1.089 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.3552, allocations: 298.7 kB / 1.089 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.447e-05/0.3552, allocations: 32 kB / 1.089 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006001/0.3559, allocations: 267.5 kB / 1.089 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.356, allocations: 99.61 kB / 1.089 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.3562, allocations: 207 kB / 1.09 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007707/0.357, allocations: 0.5844 MB / 1.09 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.357, allocations: 4 kB / 1.09 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.357, allocations: 0 / 1.09 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.357, allocations: 0 / 1.09 GB, free: 3.867 MB / 0.8419 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.001158/0.3582, allocations: 0.7496 MB / 1.091 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3582, allocations: 8.031 kB / 1.091 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.3584, allocations: 48.47 kB / 1.091 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006818/0.3591, allocations: 447.7 kB / 1.091 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.3591, allocations: 16.94 kB / 1.091 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.3592, allocations: 31.94 kB / 1.091 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.3598, allocations: 310.2 kB / 1.092 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.3598, allocations: 7.906 kB / 1.092 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.3599, allocations: 8 kB / 1.092 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.3599, allocations: 12 kB / 1.092 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004906/0.3604, allocations: 194.1 kB / 1.092 GB, free: 1.945 MB / 0.8419 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.001899/0.3623, allocations: 1.489 MB / 1.093 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.3628, allocations: 154.6 kB / 1.094 GB, free: 172 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.363, allocations: 65.08 kB / 1.094 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.3631, allocations: 93.14 kB / 1.094 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/0.3634, allocations: 124.3 kB / 1.094 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 3.907e-06/0.3634, allocations: 0 / 1.094 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006506/0.3641, allocations: 246.9 kB / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.3642, allocations: 55.34 kB / 1.094 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.3645, allocations: 349.6 kB / 1.094 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3646, allocations: 29.7 kB / 1.094 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3647, allocations: 223.7 kB / 1.095 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.3648, allocations: 47.27 kB / 1.095 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.3649, allocations: 53.7 kB / 1.095 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.365, allocations: 350.7 kB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.3652, allocations: 67.95 kB / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.3654, allocations: 150.3 kB / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.3659, allocations: 244.7 kB / 1.096 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3659, allocations: 0 / 1.096 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006262/0.3665, allocations: 316.5 kB / 1.096 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.3666, allocations: 33.7 kB / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.3666, allocations: 4 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3666, allocations: 4 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.3669, allocations: 59.83 kB / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3669, allocations: 4 kB / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.3672, allocations: 39.67 kB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.3672, allocations: 16.19 kB / 1.096 GB, free: 13.47 MB / 0.8575 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.0001586/0.3674, allocations: 154.4 kB / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.3674, allocations: 31.62 kB / 1.096 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.3679, allocations: 196.5 kB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.3679, allocations: 11.92 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.368, allocations: 0 / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004887/0.3685, allocations: 486 kB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.3689, allocations: 357.3 kB / 1.097 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3689, allocations: 0 / 1.097 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.3691, allocations: 35.91 kB / 1.097 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3691, allocations: 0 / 1.097 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3691, allocations: 4 kB / 1.097 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.3691, allocations: 3.938 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3691, allocations: 0 / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.3698, allocations: 284.5 kB / 1.097 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.3699, allocations: 128.7 kB / 1.098 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.37, allocations: 4 kB / 1.098 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.3702, allocations: 23.91 kB / 1.098 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.3703, allocations: 16.06 kB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3703, allocations: 12 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000262/0.3706, allocations: 251.2 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3706, allocations: 0 / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004584/0.3711, allocations: 119.8 kB / 1.098 GB, free: 11.22 MB / 0.8575 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.0003565/0.3714, allocations: 191.6 kB / 1.098 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005401/0.372, allocations: 243.5 kB / 1.098 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.372, allocations: 0 / 1.098 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.3722, allocations: 73.86 kB / 1.098 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3732, allocations: 211.3 kB / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.3747, allocations: 0.7464 MB / 1.099 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.375, allocations: 0.7879 MB / 1.1 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002783/0.3753, allocations: 75.12 kB / 1.1 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.3754, allocations: 35.42 kB / 1.1 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of SimCode: time 6.62e-07/0.3754, allocations: 0 / 1.1 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of Templates: time 0.01264/0.388, allocations: 7.133 MB / 1.107 GB, free: 1.77 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)