Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.857/2.857, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001586/0.001585, allocations: 190.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001088/0.001088, allocations: 89.67 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006507/0.000651, allocations: 12.08 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2111, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01552/0.2267, allocations: 12.13 MB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005777/0.2325, allocations: 3.142 MB / 0.9931 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006085/0.2332, allocations: 11.94 kB / 0.9931 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008278/0.2341, allocations: 206.9 kB / 0.9933 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.2362, allocations: 0.5687 MB / 0.9939 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.2381, allocations: 456.1 kB / 0.9943 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.2396, allocations: 0.6408 MB / 0.9949 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005403/0.2401, allocations: 230.5 kB / 0.9951 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006602/0.2408, allocations: 278.9 kB / 0.9954 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.2412, allocations: 191.1 kB / 0.9956 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.2413, allocations: 16 kB / 0.9956 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007235/0.242, allocations: 167.8 kB / 0.9958 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.2422, allocations: 67.73 kB / 0.9958 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.2423, allocations: 101.5 kB / 0.9959 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007119/0.243, allocations: 430.8 kB / 0.9963 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2431, allocations: 0 / 0.9963 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2431, allocations: 0 / 0.9963 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2431, allocations: 0 / 0.9963 GB, free: 9.758 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.001456/0.2445, allocations: 0.6678 MB / 0.997 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2446, allocations: 16.02 kB / 0.997 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.2449, allocations: 51.52 kB / 0.997 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/0.2458, allocations: 425.9 kB / 0.9975 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.2458, allocations: 20.56 kB / 0.9975 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.2459, allocations: 24 kB / 0.9975 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008127/0.2467, allocations: 310.2 kB / 0.9978 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.2468, allocations: 8 kB / 0.9978 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.2468, allocations: 4 kB / 0.9978 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.2469, allocations: 12 kB / 0.9978 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007269/0.2476, allocations: 206 kB / 0.998 GB, free: 7.922 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.002373/0.25, allocations: 1.505 MB / 0.9995 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006556/0.2507, allocations: 170.6 kB / 0.9996 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.2509, allocations: 85.11 kB / 0.9997 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.2513, allocations: 133.8 kB / 0.9998 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.236e-06/0.2513, allocations: 4 kB / 0.9999 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001002/0.2524, allocations: 245.1 kB / 1 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.2524, allocations: 59.39 kB / 1 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.2529, allocations: 353.6 kB / 1 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.253, allocations: 29.7 kB / 1.001 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.2531, allocations: 215.7 kB / 1.001 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.2532, allocations: 55.27 kB / 1.001 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.2533, allocations: 8 kB / 1.001 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.513e-05/0.2533, allocations: 342.8 kB / 1.001 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.2537, allocations: 75.95 kB / 1.001 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.254, allocations: 157.8 kB / 1.001 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.2544, allocations: 125.6 kB / 1.001 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.2544, allocations: 4 kB / 1.001 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009518/0.2554, allocations: 320.9 kB / 1.002 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.2555, allocations: 35.73 kB / 1.002 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2555, allocations: 4 kB / 1.002 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.2555, allocations: 4 kB / 1.002 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.2559, allocations: 59.89 kB / 1.002 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.256, allocations: 7.984 kB / 1.002 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.2565, allocations: 43.8 kB / 1.002 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.2566, allocations: 12 kB / 1.002 GB, free: 3.656 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.0002438/0.2568, allocations: 161.7 kB / 1.002 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.2569, allocations: 35.62 kB / 1.002 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000712/0.2576, allocations: 204.5 kB / 1.002 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2577, allocations: 0 / 1.002 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2577, allocations: 3.984 kB / 1.002 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006561/0.2583, allocations: 497 kB / 1.003 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/0.259, allocations: 361.2 kB / 1.003 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.259, allocations: 0 / 1.003 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.2594, allocations: 31.97 kB / 1.003 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.2594, allocations: 0 / 1.003 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.2594, allocations: 8 kB / 1.003 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.79e-06/0.2594, allocations: 0 / 1.003 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2594, allocations: 0 / 1.003 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2605, allocations: 301.2 kB / 1.003 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.2607, allocations: 136.7 kB / 1.004 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.2608, allocations: 7.938 kB / 1.004 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.2612, allocations: 27.97 kB / 1.004 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.2613, allocations: 15.98 kB / 1.004 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.2614, allocations: 7.984 kB / 1.004 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003536/0.2617, allocations: 251.2 kB / 1.004 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2618, allocations: 0 / 1.004 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000625/0.2624, allocations: 131.9 kB / 1.004 GB, free: 1.332 MB / 0.6198 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.0003823/0.2628, allocations: 195 kB / 1.004 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007773/0.2636, allocations: 236 kB / 1.004 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2636, allocations: 0.625 kB / 1.004 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.2639, allocations: 83.89 kB / 1.004 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.2656, allocations: 197.4 kB / 1.005 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.2678, allocations: 0.9395 MB / 1.006 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.2684, allocations: 0.7923 MB / 1.006 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005177/0.2689, allocations: 71.12 kB / 1.006 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.2691, allocations: 35.42 kB / 1.006 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of SimCode: time 1.353e-06/0.2691, allocations: 0 / 1.006 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.02107/0.2901, allocations: 6.716 MB / 1.013 GB, free: 8.082 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)