Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.854/1.854, allocations: 297.8 MB / 313.7 MB, free: 60 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 174.8 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008383/0.0008382, allocations: 96.72 kB / 0.7808 GB, free: 43.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004184, allocations: 15.94 kB / 0.9088 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7676, allocations: 120.3 MB / 1.026 GB, free: 56.86 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/1.898, allocations: 398.5 MB / 1.415 GB, free: 172 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/1.899, allocations: 90.02 kB / 1.416 GB, free: 172 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2072/2.106, allocations: 105.1 MB / 1.518 GB, free: 84.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.373e-06/2.106, allocations: 0 / 1.518 GB, free: 84.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.624e-05/2.106, allocations: 11.94 kB / 1.518 GB, free: 84.24 MB / 0.8855 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.001452/2.108, allocations: 0.7198 MB / 1.519 GB, free: 83.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/2.108, allocations: 8.031 kB / 1.519 GB, free: 83.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/2.108, allocations: 44.47 kB / 1.519 GB, free: 83.41 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/2.119, allocations: 6.184 MB / 1.525 GB, free: 77.12 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/2.12, allocations: 24.94 kB / 1.525 GB, free: 77.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-05/2.12, allocations: 32.73 kB / 1.525 GB, free: 77.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/2.12, allocations: 306.2 kB / 1.525 GB, free: 76.75 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/2.12, allocations: 0 / 1.525 GB, free: 76.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/2.12, allocations: 16 kB / 1.525 GB, free: 76.73 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/2.12, allocations: 7.938 kB / 1.525 GB, free: 76.72 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/2.121, allocations: 206 kB / 1.526 GB, free: 76.52 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/2.123, allocations: 1.477 MB / 1.527 GB, free: 74.92 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/2.123, allocations: 166.6 kB / 1.527 GB, free: 74.75 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/2.123, allocations: 77.06 kB / 1.527 GB, free: 74.67 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/2.124, allocations: 89.09 kB / 1.527 GB, free: 74.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/2.124, allocations: 139.7 kB / 1.527 GB, free: 74.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/2.124, allocations: 0 / 1.527 GB, free: 74.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0006569/2.125, allocations: 251.5 kB / 1.528 GB, free: 74.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/2.125, allocations: 55.41 kB / 1.528 GB, free: 74.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/2.125, allocations: 325.6 kB / 1.528 GB, free: 73.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/2.125, allocations: 37.7 kB / 1.528 GB, free: 73.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/2.125, allocations: 211.8 kB / 1.528 GB, free: 73.52 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/2.125, allocations: 63.12 kB / 1.528 GB, free: 73.46 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/2.125, allocations: 7.938 kB / 1.528 GB, free: 73.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/2.125, allocations: 342.8 kB / 1.529 GB, free: 73.11 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/2.125, allocations: 71.95 kB / 1.529 GB, free: 73.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/2.126, allocations: 149.4 kB / 1.529 GB, free: 72.86 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/2.126, allocations: 256.2 kB / 1.529 GB, free: 72.57 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/2.126, allocations: 0 / 1.529 GB, free: 72.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005575/2.127, allocations: 324.3 kB / 1.529 GB, free: 72.24 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/2.127, allocations: 35.72 kB / 1.53 GB, free: 72.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/2.127, allocations: 4 kB / 1.53 GB, free: 72.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/2.127, allocations: 4 kB / 1.53 GB, free: 72.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/2.127, allocations: 60.22 kB / 1.53 GB, free: 72.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/2.127, allocations: 4 kB / 1.53 GB, free: 72.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/2.127, allocations: 43.61 kB / 1.53 GB, free: 72.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/2.127, allocations: 16 kB / 1.53 GB, free: 72.07 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.0001692/2.127, allocations: 161.8 kB / 1.53 GB, free: 71.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/2.128, allocations: 31.62 kB / 1.53 GB, free: 71.87 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/2.128, allocations: 204.4 kB / 1.53 GB, free: 71.67 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/2.128, allocations: 0 / 1.53 GB, free: 71.67 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/2.128, allocations: 0 / 1.53 GB, free: 71.67 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003873/2.128, allocations: 0.4937 MB / 1.531 GB, free: 71.09 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/2.129, allocations: 349.4 kB / 1.531 GB, free: 70.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/2.129, allocations: 0 / 1.531 GB, free: 70.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/2.129, allocations: 35.91 kB / 1.531 GB, free: 70.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/2.129, allocations: 8 kB / 1.531 GB, free: 70.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/2.129, allocations: 4 kB / 1.531 GB, free: 70.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/2.129, allocations: 0 / 1.531 GB, free: 70.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/2.129, allocations: 0 / 1.531 GB, free: 70.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/2.13, allocations: 300.5 kB / 1.531 GB, free: 70.34 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/2.13, allocations: 128.7 kB / 1.531 GB, free: 70.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/2.13, allocations: 0 / 1.531 GB, free: 70.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/2.13, allocations: 27.88 kB / 1.531 GB, free: 70.17 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/2.13, allocations: 15.92 kB / 1.531 GB, free: 70.15 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/2.13, allocations: 19.92 kB / 1.531 GB, free: 70.13 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002078/2.13, allocations: 235.2 kB / 1.532 GB, free: 69.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/2.13, allocations: 0 / 1.532 GB, free: 69.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004949/2.131, allocations: 131.7 kB / 1.532 GB, free: 69.77 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.0004226/2.131, allocations: 223.6 kB / 1.532 GB, free: 69.54 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004597/2.132, allocations: 235.5 kB / 1.532 GB, free: 69.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/2.132, allocations: 0 / 1.532 GB, free: 69.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/2.132, allocations: 81.8 kB / 1.532 GB, free: 69.22 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009147/2.133, allocations: 195.5 kB / 1.532 GB, free: 69.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/2.134, allocations: 0.9585 MB / 1.533 GB, free: 68.05 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/2.135, allocations: 0.7882 MB / 1.534 GB, free: 67.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003078/2.135, allocations: 63.2 kB / 1.534 GB, free: 67.17 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/2.135, allocations: 31.44 kB / 1.534 GB, free: 67.14 MB / 0.8855 GB Notification: Performance of SimCode: time 7.51e-07/2.135, allocations: 0 / 1.534 GB, free: 67.14 MB / 0.8855 GB Notification: Performance of Templates: time 0.01227/2.147, allocations: 7.027 MB / 1.541 GB, free: 60.21 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)