Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007885/0.0007885, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005196/0.005197, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.532/1.532, allocations: 205.4 MB / 222.4 MB, free: 5.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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.0006343/0.0006348, allocations: 14.44 kB / 0.6743 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2509, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01553/0.2665, allocations: 13.88 MB / 0.8014 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004976/0.2715, allocations: 3.597 MB / 0.8049 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005831/0.2721, allocations: 15.88 kB / 0.805 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006123/0.2727, allocations: 171.1 kB / 0.8051 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.2743, allocations: 0.5366 MB / 0.8056 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009117/0.2752, allocations: 343 kB / 0.806 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001637/0.2768, allocations: 1.457 MB / 0.8074 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005104/0.2773, allocations: 263.8 kB / 0.8076 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005725/0.2779, allocations: 314.6 kB / 0.8079 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.2784, allocations: 298.6 kB / 0.8082 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.2785, allocations: 16 kB / 0.8082 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005351/0.279, allocations: 235.5 kB / 0.8085 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2791, allocations: 71.67 kB / 0.8085 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.2793, allocations: 216.6 kB / 0.8087 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007164/0.2801, allocations: 0.5685 MB / 0.8093 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2801, allocations: 0 / 0.8093 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2801, allocations: 0 / 0.8093 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.2801, allocations: 0 / 0.8093 GB, free: 5.547 MB / 0.6231 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.001077/0.2812, allocations: 0.664 MB / 0.8099 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2812, allocations: 8.031 kB / 0.81 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.2815, allocations: 52.47 kB / 0.81 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000776/0.2822, allocations: 463.2 kB / 0.8104 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.2823, allocations: 24.69 kB / 0.8105 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.2823, allocations: 27.98 kB / 0.8105 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.283, allocations: 318.2 kB / 0.8108 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.283, allocations: 7.984 kB / 0.8108 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.283, allocations: 8 kB / 0.8108 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.283, allocations: 11.98 kB / 0.8108 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.2835, allocations: 206.1 kB / 0.811 GB, free: 3.668 MB / 0.6231 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.001833/0.2854, allocations: 1.477 MB / 0.8125 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.2858, allocations: 174.6 kB / 0.8126 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.286, allocations: 76.81 kB / 0.8127 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.2862, allocations: 85.11 kB / 0.8128 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.2865, allocations: 131.3 kB / 0.8129 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 3.186e-06/0.2865, allocations: 7.938 kB / 0.8129 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0006444/0.2872, allocations: 249.1 kB / 0.8132 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.2872, allocations: 55.41 kB / 0.8132 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.2876, allocations: 341.5 kB / 0.8135 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.2877, allocations: 29.7 kB / 0.8136 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.2878, allocations: 215.8 kB / 0.8138 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.2879, allocations: 51.3 kB / 0.8138 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.2879, allocations: 33.64 kB / 0.8139 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2881, allocations: 342.8 kB / 0.8142 GB, free: 216 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2883, allocations: 71.95 kB / 0.8142 GB, free: 144 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.2885, allocations: 157.3 kB / 0.8144 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.289, allocations: 259 kB / 0.8146 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.289, allocations: 0 / 0.8146 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006204/0.2896, allocations: 325.3 kB / 0.815 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.2897, allocations: 36.5 kB / 0.815 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2897, allocations: 4 kB / 0.815 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2897, allocations: 7.938 kB / 0.815 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.2899, allocations: 55.91 kB / 0.8151 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.29, allocations: 4 kB / 0.8151 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.2903, allocations: 47.92 kB / 0.8151 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.2903, allocations: 12 kB / 0.8151 GB, free: 15.16 MB / 0.6387 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.0001756/0.2905, allocations: 166.3 kB / 0.8153 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.2905, allocations: 31.62 kB / 0.8153 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.291, allocations: 210.8 kB / 0.8155 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.291, allocations: 7.938 kB / 0.8155 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.291, allocations: 0 / 0.8155 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005079/0.2916, allocations: 491.8 kB / 0.816 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.292, allocations: 353.3 kB / 0.8163 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.292, allocations: 0 / 0.8163 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.2922, allocations: 35.97 kB / 0.8164 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2922, allocations: 0 / 0.8164 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2922, allocations: 0 / 0.8164 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.2922, allocations: 11.88 kB / 0.8164 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2922, allocations: 3.938 kB / 0.8164 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.2929, allocations: 299.8 kB / 0.8167 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.293, allocations: 128.8 kB / 0.8168 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.2931, allocations: 4 kB / 0.8168 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.2934, allocations: 27.91 kB / 0.8168 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.2935, allocations: 15.98 kB / 0.8168 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.2935, allocations: 7.984 kB / 0.8168 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000247/0.2937, allocations: 239.1 kB / 0.8171 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2938, allocations: 4 kB / 0.8171 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004743/0.2942, allocations: 115.9 kB / 0.8172 GB, free: 12.87 MB / 0.6387 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.0004057/0.2947, allocations: 187.1 kB / 0.8174 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005597/0.2952, allocations: 239.2 kB / 0.8176 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2952, allocations: 0 / 0.8176 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.2954, allocations: 80.53 kB / 0.8177 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2965, allocations: 197.2 kB / 0.8178 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.298, allocations: 0.9153 MB / 0.8187 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.2983, allocations: 0.7882 MB / 0.8195 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000294/0.2986, allocations: 63.25 kB / 0.8196 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.2987, allocations: 35.38 kB / 0.8196 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of SimCode: time 4.51e-07/0.2987, allocations: 0 / 0.8196 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of Templates: time 0.01213/0.3108, allocations: 6.525 MB / 0.826 GB, free: 3.891 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) Environment - environmentSimulation: