Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 177.1 MB / 203.1 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00256/0.00256, allocations: 246.5 kB / 259.8 MB, free: 12.55 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.073/1.073, allocations: 138.5 MB / 454.7 MB, free: 1.484 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.405e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.02016/0.02019, allocations: 13.38 MB / 0.5674 GB, free: 3.438 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006242/0.02643, allocations: 3.394 MB / 0.5707 GB, free: 28 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/0.02692, allocations: 23.81 kB / 0.5707 GB, free: 4 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007565/0.02768, allocations: 198.6 kB / 0.5709 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.02997, allocations: 0.6526 MB / 0.5715 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.03123, allocations: 402.9 kB / 0.5719 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.03297, allocations: 1.111 MB / 0.573 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005522/0.03352, allocations: 265.1 kB / 0.5733 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.03503, allocations: 0.5304 MB / 0.5738 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.03561, allocations: 275.1 kB / 0.574 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-05/0.0357, allocations: 36 kB / 0.5741 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005647/0.03626, allocations: 219.4 kB / 0.5743 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.03642, allocations: 107.5 kB / 0.5744 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.03672, allocations: 147.6 kB / 0.5745 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.03779, allocations: 0.6114 MB / 0.5751 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.03779, allocations: 0 / 0.5751 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.03779, allocations: 0 / 0.5751 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.03781, allocations: 4 kB / 0.5751 GB, free: 11.48 MB / 0.4948 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.001444/0.03925, allocations: 0.6815 MB / 0.5758 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.03929, allocations: 12.75 kB / 0.5758 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.03957, allocations: 72.59 kB / 0.5759 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/0.04046, allocations: 424 kB / 0.5763 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.04049, allocations: 20.88 kB / 0.5763 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.04056, allocations: 28.38 kB / 0.5763 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/0.04134, allocations: 424.3 kB / 0.5767 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.04135, allocations: 0 / 0.5767 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.04139, allocations: 12 kB / 0.5767 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.04141, allocations: 4 kB / 0.5767 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.04195, allocations: 193.8 kB / 0.5769 GB, free: 9.523 MB / 0.4948 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.001974/0.04393, allocations: 1.104 MB / 0.578 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.04444, allocations: 146.6 kB / 0.5782 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.04464, allocations: 72.75 kB / 0.5782 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.464e-05/0.04473, allocations: 8 kB / 0.5782 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/0.04515, allocations: 230.1 kB / 0.5784 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.04515, allocations: 4 kB / 0.5785 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0007475/0.0459, allocations: 233.3 kB / 0.5787 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.04596, allocations: 59.34 kB / 0.5787 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.04641, allocations: 328.4 kB / 0.579 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.04645, allocations: 33.7 kB / 0.5791 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.04665, allocations: 220.4 kB / 0.5793 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.528e-05/0.04672, allocations: 55.53 kB / 0.5793 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.04682, allocations: 61.66 kB / 0.5794 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.04704, allocations: 342.7 kB / 0.5797 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.04729, allocations: 101.7 kB / 0.5798 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.04759, allocations: 167.1 kB / 0.58 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.04811, allocations: 253.7 kB / 0.5802 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.04811, allocations: 0 / 0.5802 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000759/0.04887, allocations: 348.5 kB / 0.5806 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.853e-05/0.04895, allocations: 37.69 kB / 0.5806 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.04896, allocations: 4 kB / 0.5806 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.04898, allocations: 4 kB / 0.5806 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.04923, allocations: 55.91 kB / 0.5807 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.04924, allocations: 4 kB / 0.5807 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.0495, allocations: 36.11 kB / 0.5807 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.04953, allocations: 8 kB / 0.5807 GB, free: 5.395 MB / 0.4948 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.0001942/0.04973, allocations: 165.7 kB / 0.5809 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.04982, allocations: 35.81 kB / 0.5809 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.05035, allocations: 199.8 kB / 0.5811 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.05035, allocations: 0 / 0.5811 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.05036, allocations: 0 / 0.5811 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006852/0.05104, allocations: 491.6 kB / 0.5816 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.05145, allocations: 245.1 kB / 0.5818 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.05145, allocations: 0 / 0.5818 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.05163, allocations: 35.92 kB / 0.5818 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.05164, allocations: 0 / 0.5818 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.05166, allocations: 3.984 kB / 0.5818 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.05166, allocations: 4 kB / 0.5818 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.05166, allocations: 0 / 0.5818 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007137/0.05238, allocations: 300.6 kB / 0.5821 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.05249, allocations: 43.84 kB / 0.5822 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.05254, allocations: 7.984 kB / 0.5822 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.05278, allocations: 11.98 kB / 0.5822 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.05286, allocations: 23.91 kB / 0.5822 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.05288, allocations: 8 kB / 0.5822 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000292/0.05318, allocations: 231 kB / 0.5824 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.05318, allocations: 0 / 0.5824 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004868/0.05366, allocations: 123.8 kB / 0.5825 GB, free: 3.359 MB / 0.4948 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.0003783/0.05404, allocations: 203 kB / 0.5827 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005864/0.05463, allocations: 260.1 kB / 0.583 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.05463, allocations: 4 kB / 0.583 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.05483, allocations: 63.95 kB / 0.583 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.05617, allocations: 204 kB / 0.5832 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.05799, allocations: 0.6637 MB / 0.5839 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.05829, allocations: 189.1 kB / 0.5841 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002508/0.05854, allocations: 59.19 kB / 0.5841 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.05865, allocations: 32.5 kB / 0.5842 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/0.05865, allocations: 0 / 0.5842 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of Templates: time 0.01498/0.07363, allocations: 7.213 MB / 0.5912 GB, free: 10.6 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.013602692983113]