Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.192/2.192, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002875/0.002874, allocations: 186.2 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.334/2.334, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008751/0.0008746, allocations: 104.1 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005129/0.0005131, allocations: 12.84 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.417, allocations: 387.3 MB / 1.278 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/1.418, allocations: 90.58 kB / 1.278 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.3607/1.778, allocations: 100.6 MB / 1.376 GB, free: 6.391 MB / 0.8699 GB Notification: Performance of FrontEnd: time 2.134e-06/1.779, allocations: 0 / 1.376 GB, free: 6.391 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 4.03e-05/1.779, allocations: 8 kB / 1.376 GB, free: 6.383 MB / 0.8699 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.001825/1.78, allocations: 0.7157 MB / 1.377 GB, free: 5.605 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.78, allocations: 8.031 kB / 1.377 GB, free: 5.598 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/1.781, allocations: 52.36 kB / 1.377 GB, free: 5.547 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01982/1.801, allocations: 5.881 MB / 1.383 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/1.801, allocations: 20.94 kB / 1.383 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/1.801, allocations: 32.66 kB / 1.383 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009196/1.802, allocations: 306.1 kB / 1.383 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/1.802, allocations: 0 / 1.383 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/1.802, allocations: 12 kB / 1.383 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/1.802, allocations: 8 kB / 1.383 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007948/1.803, allocations: 206.1 kB / 1.383 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00288/1.806, allocations: 1.474 MB / 1.385 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/1.806, allocations: 166.6 kB / 1.385 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/1.807, allocations: 76.81 kB / 1.385 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/1.807, allocations: 89.09 kB / 1.385 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/1.807, allocations: 131.3 kB / 1.385 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 3.406e-06/1.807, allocations: 0 / 1.385 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.001109/1.808, allocations: 255.5 kB / 1.385 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/1.808, allocations: 51.41 kB / 1.385 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005576/1.809, allocations: 329.6 kB / 1.386 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/1.809, allocations: 33.7 kB / 1.386 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/1.809, allocations: 211.7 kB / 1.386 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/1.809, allocations: 59.25 kB / 1.386 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/1.809, allocations: 4 kB / 1.386 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.81, allocations: 350.7 kB / 1.386 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/1.81, allocations: 71.95 kB / 1.386 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/1.81, allocations: 153.3 kB / 1.386 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/1.811, allocations: 127.6 kB / 1.387 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.811, allocations: 0 / 1.387 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001073/1.812, allocations: 314.7 kB / 1.387 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/1.812, allocations: 41.62 kB / 1.387 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.812, allocations: 4 kB / 1.387 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.812, allocations: 4 kB / 1.387 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/1.813, allocations: 60.22 kB / 1.387 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/1.813, allocations: 4 kB / 1.387 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/1.813, allocations: 43.61 kB / 1.387 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/1.813, allocations: 16 kB / 1.387 GB, free: 10.68 MB / 0.8855 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.0002902/1.813, allocations: 157.8 kB / 1.387 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/1.814, allocations: 31.62 kB / 1.387 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007879/1.814, allocations: 208.4 kB / 1.387 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.814, allocations: 0 / 1.387 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.814, allocations: 0 / 1.387 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007714/1.815, allocations: 0.4942 MB / 1.388 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/1.816, allocations: 341.4 kB / 1.388 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.816, allocations: 4 kB / 1.388 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/1.816, allocations: 31.97 kB / 1.388 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.816, allocations: 0 / 1.388 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/1.816, allocations: 4 kB / 1.388 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/1.816, allocations: 4 kB / 1.388 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.816, allocations: 3.938 kB / 1.388 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/1.817, allocations: 302.1 kB / 1.389 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/1.818, allocations: 124.8 kB / 1.389 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.431e-05/1.818, allocations: 4 kB / 1.389 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/1.818, allocations: 27.83 kB / 1.389 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/1.818, allocations: 11.97 kB / 1.389 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/1.818, allocations: 19.92 kB / 1.389 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003699/1.819, allocations: 227.2 kB / 1.389 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.655e-06/1.819, allocations: 0 / 1.389 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006888/1.819, allocations: 136 kB / 1.389 GB, free: 8.406 MB / 0.8855 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.0005212/1.82, allocations: 235 kB / 1.389 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008966/1.821, allocations: 237 kB / 1.39 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.821, allocations: 0 / 1.39 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003192/1.821, allocations: 79.89 kB / 1.39 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/1.823, allocations: 194.6 kB / 1.39 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/1.826, allocations: 0.9508 MB / 1.391 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/1.826, allocations: 0.7921 MB / 1.392 GB, free: 5.859 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005255/1.827, allocations: 63.23 kB / 1.392 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/1.827, allocations: 35.36 kB / 1.392 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of SimCode: time 1.002e-06/1.827, allocations: 0 / 1.392 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of Templates: time 0.6319/2.459, allocations: 6.842 MB / 1.398 GB, free: 296.3 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)