Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.774/1.774, allocations: 288.4 MB / 303.4 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001173, allocations: 184.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 0.6307 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007824/0.0007824, allocations: 96.81 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 11.94 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2126, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02125/0.2339, allocations: 13.2 MB / 0.9925 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007668/0.2416, allocations: 3.368 MB / 0.9958 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007332/0.2424, allocations: 15.88 kB / 0.9958 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008637/0.2433, allocations: 159.1 kB / 0.9959 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.2454, allocations: 477.6 kB / 0.9964 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.2469, allocations: 290.5 kB / 0.9967 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.2487, allocations: 1.239 MB / 0.9979 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005118/0.2493, allocations: 234.4 kB / 0.9981 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006344/0.2499, allocations: 314.7 kB / 0.9984 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004737/0.2504, allocations: 278.7 kB / 0.9986 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.457e-05/0.2505, allocations: 16 kB / 0.9987 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007203/0.2512, allocations: 155.6 kB / 0.9988 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.2514, allocations: 75.66 kB / 0.9989 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.2515, allocations: 97.52 kB / 0.999 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.2522, allocations: 422.9 kB / 0.9994 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2523, allocations: 0 / 0.9994 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2523, allocations: 4 kB / 0.9994 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.2523, allocations: 0 / 0.9994 GB, free: 7.301 MB / 0.6198 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.001543/0.2539, allocations: 0.6678 MB / 1 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.2539, allocations: 12.02 kB / 1 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.2542, allocations: 51.52 kB / 1 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.2554, allocations: 457.8 kB / 1.001 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.2554, allocations: 24.52 kB / 1.001 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.2555, allocations: 31.91 kB / 1.001 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009505/0.2565, allocations: 310.2 kB / 1.001 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.2565, allocations: 3.938 kB / 1.001 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.2566, allocations: 12 kB / 1.001 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.2567, allocations: 8 kB / 1.001 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/0.2575, allocations: 202.1 kB / 1.001 GB, free: 5.43 MB / 0.6198 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.002641/0.2602, allocations: 1.485 MB / 1.003 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/0.261, allocations: 174.6 kB / 1.003 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.2613, allocations: 72.81 kB / 1.003 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.2615, allocations: 93.09 kB / 1.003 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004683/0.262, allocations: 127.3 kB / 1.003 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.837e-06/0.262, allocations: 0 / 1.003 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001085/0.2631, allocations: 246.8 kB / 1.003 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2632, allocations: 55.34 kB / 1.003 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.2637, allocations: 333.5 kB / 1.004 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.2638, allocations: 33.7 kB / 1.004 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.264, allocations: 215.8 kB / 1.004 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.2641, allocations: 55.2 kB / 1.004 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.2641, allocations: 4 kB / 1.004 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.2642, allocations: 350.7 kB / 1.004 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.2646, allocations: 71.95 kB / 1.004 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.265, allocations: 157.9 kB / 1.004 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.2654, allocations: 122.3 kB / 1.005 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2654, allocations: 0 / 1.005 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009469/0.2664, allocations: 320.9 kB / 1.005 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.2665, allocations: 33.7 kB / 1.005 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2665, allocations: 7.938 kB / 1.005 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.2665, allocations: 4.312 kB / 1.005 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.2669, allocations: 59.91 kB / 1.005 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.267, allocations: 7.938 kB / 1.005 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.2675, allocations: 35.83 kB / 1.005 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.2675, allocations: 15.98 kB / 1.005 GB, free: 1.129 MB / 0.6198 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.0002126/0.2677, allocations: 161.7 kB / 1.005 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.2678, allocations: 31.62 kB / 1.005 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007007/0.2686, allocations: 200.4 kB / 1.005 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2686, allocations: 0 / 1.005 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2686, allocations: 8 kB / 1.005 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006339/0.2692, allocations: 0.4885 MB / 1.006 GB, free: 148 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006789/0.2699, allocations: 353.3 kB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.27, allocations: 0 / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.2703, allocations: 39.98 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2703, allocations: 0 / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.2703, allocations: 0 / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.2703, allocations: 0 / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.2703, allocations: 4 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.2714, allocations: 303.3 kB / 1.007 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.2716, allocations: 132.7 kB / 1.007 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/0.2717, allocations: 0 / 1.007 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.2722, allocations: 27.89 kB / 1.007 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.2723, allocations: 15.97 kB / 1.007 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.2724, allocations: 12 kB / 1.007 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003882/0.2728, allocations: 231.2 kB / 1.007 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2728, allocations: 3.938 kB / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007127/0.2735, allocations: 116 kB / 1.007 GB, free: 14.85 MB / 0.6355 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.0004076/0.2739, allocations: 183.2 kB / 1.007 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008079/0.2747, allocations: 243.4 kB / 1.007 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2748, allocations: 0 / 1.007 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.2751, allocations: 71.95 kB / 1.008 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.277, allocations: 204.9 kB / 1.008 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.2794, allocations: 0.9403 MB / 1.009 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.28, allocations: 0.7962 MB / 1.009 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005068/0.2805, allocations: 59.25 kB / 1.009 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.2807, allocations: 31.42 kB / 1.01 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.2807, allocations: 0 / 1.01 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.02045/0.3011, allocations: 6.317 MB / 1.016 GB, free: 6.039 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)