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.7122/0.7122, allocations: 127.3 MB / 139.8 MB, free: 15.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 172.9 kB / 169.7 MB, free: 1.734 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.566/1.566, allocations: 205.1 MB / 404.5 MB, free: 1.668 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.0008496/0.0008496, allocations: 95.16 kB / 481.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.52e-05, allocations: 4 kB / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.16, allocations: 76.76 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.376, allocations: 355.5 MB / 0.9753 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.376, allocations: 85.77 kB / 0.9754 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1895/1.565, allocations: 99.3 MB / 1.072 GB, free: 63.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/1.565, allocations: 0 / 1.072 GB, free: 63.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.119e-05/1.565, allocations: 8 kB / 1.072 GB, free: 63.3 MB / 0.6355 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.001229/1.567, allocations: 0.6644 MB / 1.073 GB, free: 62.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.567, allocations: 12.03 kB / 1.073 GB, free: 62.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/1.567, allocations: 43.53 kB / 1.073 GB, free: 62.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/1.58, allocations: 6.475 MB / 1.079 GB, free: 55.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/1.58, allocations: 20.56 kB / 1.079 GB, free: 55.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/1.58, allocations: 24 kB / 1.079 GB, free: 55.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/1.58, allocations: 286.2 kB / 1.08 GB, free: 55.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/1.58, allocations: 0 / 1.08 GB, free: 55.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/1.58, allocations: 15.95 kB / 1.08 GB, free: 55.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/1.58, allocations: 8 kB / 1.08 GB, free: 55.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/1.581, allocations: 154.2 kB / 1.08 GB, free: 55.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/1.583, allocations: 1.473 MB / 1.081 GB, free: 53.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/1.583, allocations: 126.7 kB / 1.081 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.705e-05/1.583, allocations: 52.81 kB / 1.081 GB, free: 53.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/1.583, allocations: 89.09 kB / 1.082 GB, free: 53.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/1.583, allocations: 112.4 kB / 1.082 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/1.583, allocations: 4 kB / 1.082 GB, free: 53.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003259/1.584, allocations: 146.6 kB / 1.082 GB, free: 53.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/1.584, allocations: 55.41 kB / 1.082 GB, free: 53.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/1.584, allocations: 303.5 kB / 1.082 GB, free: 52.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/1.584, allocations: 29.69 kB / 1.082 GB, free: 52.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/1.584, allocations: 207.9 kB / 1.082 GB, free: 52.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/1.584, allocations: 55.28 kB / 1.082 GB, free: 52.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/1.584, allocations: 8 kB / 1.082 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.905e-05/1.584, allocations: 338.8 kB / 1.083 GB, free: 52.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/1.584, allocations: 56.22 kB / 1.083 GB, free: 52.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/1.584, allocations: 129.8 kB / 1.083 GB, free: 52.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/1.585, allocations: 93.67 kB / 1.083 GB, free: 51.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/1.585, allocations: 3.953 kB / 1.083 GB, free: 51.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003876/1.585, allocations: 274.7 kB / 1.083 GB, free: 51.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/1.585, allocations: 33.7 kB / 1.083 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.585, allocations: 3.938 kB / 1.083 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.585, allocations: 7.984 kB / 1.083 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/1.585, allocations: 59.86 kB / 1.083 GB, free: 51.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.585, allocations: 4.312 kB / 1.083 GB, free: 51.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/1.586, allocations: 43.73 kB / 1.083 GB, free: 51.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/1.586, allocations: 19.92 kB / 1.083 GB, free: 51.48 MB / 0.6355 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 7.731e-05/1.586, allocations: 116.9 kB / 1.084 GB, free: 51.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/1.586, allocations: 31.62 kB / 1.084 GB, free: 51.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/1.586, allocations: 168.6 kB / 1.084 GB, free: 51.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.586, allocations: 4 kB / 1.084 GB, free: 51.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.586, allocations: 3.953 kB / 1.084 GB, free: 51.15 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002483/1.586, allocations: 450.5 kB / 1.084 GB, free: 50.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/1.587, allocations: 353.3 kB / 1.085 GB, free: 50.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.587, allocations: 0 / 1.085 GB, free: 50.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/1.587, allocations: 39.91 kB / 1.085 GB, free: 50.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.587, allocations: 0 / 1.085 GB, free: 50.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/1.587, allocations: 0 / 1.085 GB, free: 50.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.587, allocations: 0 / 1.085 GB, free: 50.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.587, allocations: 8 kB / 1.085 GB, free: 50.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/1.587, allocations: 232.7 kB / 1.085 GB, free: 49.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.587, allocations: 128.7 kB / 1.085 GB, free: 49.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/1.588, allocations: 4 kB / 1.085 GB, free: 49.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/1.588, allocations: 19.97 kB / 1.085 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/1.588, allocations: 15.98 kB / 1.085 GB, free: 49.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/1.588, allocations: 11.98 kB / 1.085 GB, free: 49.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002189/1.588, allocations: 238.1 kB / 1.085 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.588, allocations: 0 / 1.085 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004692/1.589, allocations: 140 kB / 1.085 GB, free: 49.38 MB / 0.6355 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.000397/1.589, allocations: 247.3 kB / 1.086 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002906/1.589, allocations: 199.2 kB / 1.086 GB, free: 48.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.589, allocations: 0 / 1.086 GB, free: 48.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.534e-05/1.589, allocations: 51.88 kB / 1.086 GB, free: 48.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008844/1.59, allocations: 201.7 kB / 1.086 GB, free: 48.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009348/1.591, allocations: 0.5406 MB / 1.087 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/1.591, allocations: 0.7994 MB / 1.087 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002751/1.592, allocations: 55.25 kB / 1.087 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/1.592, allocations: 35.42 kB / 1.087 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/1.592, allocations: 0 / 1.087 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.01253/1.604, allocations: 7.232 MB / 1.094 GB, free: 40.04 MB / 0.6355 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)