Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8457/0.8457, allocations: 127.4 MB / 134.9 MB, free: 3.488 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 181.7 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.2 MB / 399.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009434/0.0009434, allocations: 86.45 kB / 476.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.286e-05, allocations: 2.688 kB / 0.5466 GB, free: 95.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1593, allocations: 76.76 MB / 0.6215 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.715/0.8744, allocations: 354.8 MB / 0.968 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.8747, allocations: 89.5 kB / 0.9681 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.5569/1.432, allocations: 98.83 MB / 1.065 GB, free: 201.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.423e-06/1.432, allocations: 0 / 1.065 GB, free: 201.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.198e-05/1.432, allocations: 11.84 kB / 1.065 GB, free: 201.5 MB / 0.6511 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.0007827/1.433, allocations: 0.6532 MB / 1.065 GB, free: 200.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/1.433, allocations: 12.03 kB / 1.065 GB, free: 200.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/1.433, allocations: 43.53 kB / 1.065 GB, free: 200.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/1.444, allocations: 6.466 MB / 1.072 GB, free: 194.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/1.444, allocations: 8 kB / 1.072 GB, free: 194.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/1.444, allocations: 16 kB / 1.072 GB, free: 194.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002722/1.444, allocations: 133.1 kB / 1.072 GB, free: 194.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/1.445, allocations: 253.1 kB / 1.072 GB, free: 193.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/1.445, allocations: 3.938 kB / 1.072 GB, free: 193.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/1.445, allocations: 0 / 1.072 GB, free: 193.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/1.445, allocations: 12 kB / 1.072 GB, free: 193.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/1.446, allocations: 1.4 MB / 1.073 GB, free: 192.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/1.446, allocations: 122.7 kB / 1.074 GB, free: 192.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/1.446, allocations: 44.86 kB / 1.074 GB, free: 192.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/1.446, allocations: 85.09 kB / 1.074 GB, free: 192 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/1.447, allocations: 103.3 kB / 1.074 GB, free: 191.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.394e-06/1.447, allocations: 0 / 1.074 GB, free: 191.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003148/1.447, allocations: 149.2 kB / 1.074 GB, free: 191.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/1.447, allocations: 51.41 kB / 1.074 GB, free: 191.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/1.447, allocations: 273.1 kB / 1.074 GB, free: 191.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/1.447, allocations: 25.7 kB / 1.074 GB, free: 191.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/1.447, allocations: 215.8 kB / 1.074 GB, free: 191.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/1.447, allocations: 47.36 kB / 1.074 GB, free: 191.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/1.447, allocations: 0 / 1.074 GB, free: 191.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.506e-05/1.448, allocations: 338.8 kB / 1.075 GB, free: 190.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/1.448, allocations: 48.22 kB / 1.075 GB, free: 190.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.47e-05/1.448, allocations: 126 kB / 1.075 GB, free: 190.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/1.448, allocations: 71.95 kB / 1.075 GB, free: 190.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/1.448, allocations: 4 kB / 1.075 GB, free: 190.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003872/1.448, allocations: 222.2 kB / 1.075 GB, free: 190.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.448, allocations: 37.7 kB / 1.075 GB, free: 190.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.448, allocations: 4 kB / 1.075 GB, free: 190.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.448, allocations: 4 kB / 1.075 GB, free: 190.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/1.449, allocations: 59.91 kB / 1.075 GB, free: 190.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.449, allocations: 7.938 kB / 1.075 GB, free: 190.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/1.449, allocations: 43.62 kB / 1.075 GB, free: 190.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/1.449, allocations: 11.98 kB / 1.075 GB, free: 190.1 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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.0001363/1.449, allocations: 112.9 kB / 1.076 GB, free: 190 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/1.449, allocations: 27.72 kB / 1.076 GB, free: 189.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/1.449, allocations: 150.8 kB / 1.076 GB, free: 189.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.449, allocations: 4 kB / 1.076 GB, free: 189.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/1.449, allocations: 3.938 kB / 1.076 GB, free: 189.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000204/1.45, allocations: 439.8 kB / 1.076 GB, free: 189.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/1.45, allocations: 309.8 kB / 1.076 GB, free: 188.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.45, allocations: 0 / 1.076 GB, free: 188.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/1.45, allocations: 39.91 kB / 1.076 GB, free: 188.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.45, allocations: 0 / 1.076 GB, free: 188.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/1.45, allocations: 4 kB / 1.076 GB, free: 188.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.45, allocations: 0 / 1.076 GB, free: 188.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.45, allocations: 4 kB / 1.076 GB, free: 188.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/1.45, allocations: 224.6 kB / 1.077 GB, free: 188.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.314e-05/1.45, allocations: 124.8 kB / 1.077 GB, free: 188.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/1.451, allocations: 0 / 1.077 GB, free: 188.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/1.451, allocations: 19.97 kB / 1.077 GB, free: 188.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/1.451, allocations: 19.97 kB / 1.077 GB, free: 188.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/1.451, allocations: 4 kB / 1.077 GB, free: 188.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001402/1.451, allocations: 208.6 kB / 1.077 GB, free: 188.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.81e-07/1.451, allocations: 3.938 kB / 1.077 GB, free: 188.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003848/1.451, allocations: 139.9 kB / 1.077 GB, free: 188.1 MB / 0.6511 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) * 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.0002886/1.452, allocations: 236.5 kB / 1.077 GB, free: 187.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002098/1.452, allocations: 178.1 kB / 1.078 GB, free: 187.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.452, allocations: 0.625 kB / 1.078 GB, free: 187.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.053e-05/1.452, allocations: 63.86 kB / 1.078 GB, free: 187.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008062/1.453, allocations: 175.1 kB / 1.078 GB, free: 187.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/1.454, allocations: 0.5254 MB / 1.078 GB, free: 186.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/1.454, allocations: 0.7952 MB / 1.079 GB, free: 186.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000208/1.454, allocations: 59.25 kB / 1.079 GB, free: 186.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/1.454, allocations: 31.42 kB / 1.079 GB, free: 186 MB / 0.6511 GB Notification: Performance of SimCode: time 8.12e-07/1.454, allocations: 0 / 1.079 GB, free: 186 MB / 0.6511 GB Notification: Performance of Templates: time 0.008382/1.462, allocations: 6.053 MB / 1.085 GB, free: 180.1 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)