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.001439/0.001439, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001195/0.001195, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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 0.9425/0.9425, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.001599/0.001599, allocations: 236.7 kB / 261.3 MB, free: 12.66 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 0.7303/0.7303, allocations: 138.4 MB / 456.3 MB, free: 1.43 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.824e-06/1.824e-06, allocations: 0 / 0.5563 GB, free: 276 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.293e-05, allocations: 5.547 kB / 0.5564 GB, free: 272 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.009741/0.009774, allocations: 7.178 MB / 0.5634 GB, free: 9.051 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.01437, allocations: 2.448 MB / 0.5658 GB, free: 6.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006387/0.01501, allocations: 23.81 kB / 0.5658 GB, free: 6.566 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.01554, allocations: 131 kB / 0.5659 GB, free: 6.438 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.01703, allocations: 0.5321 MB / 0.5664 GB, free: 5.902 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009918/0.01802, allocations: 371.1 kB / 0.5668 GB, free: 5.539 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001805/0.01982, allocations: 1.089 MB / 0.5678 GB, free: 4.449 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004953/0.02032, allocations: 269 kB / 0.5681 GB, free: 4.184 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.02158, allocations: 0.5325 MB / 0.5686 GB, free: 3.656 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004864/0.02207, allocations: 279.2 kB / 0.5689 GB, free: 3.383 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.192e-05/0.02214, allocations: 35.94 kB / 0.5689 GB, free: 3.348 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.02249, allocations: 139.7 kB / 0.569 GB, free: 3.211 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.02261, allocations: 103.5 kB / 0.5691 GB, free: 3.109 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.02279, allocations: 147.7 kB / 0.5693 GB, free: 2.965 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.02345, allocations: 402.6 kB / 0.5697 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.02346, allocations: 0 / 0.5697 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02346, allocations: 0 / 0.5697 GB, free: 2.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.02347, allocations: 0 / 0.5697 GB, free: 2.57 MB / 490.7 MB 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.001062/0.02453, allocations: 0.7695 MB / 0.5704 GB, free: 1.758 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.02457, allocations: 8.75 kB / 0.5704 GB, free: 1.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.02481, allocations: 76.53 kB / 0.5705 GB, free: 1.676 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.02533, allocations: 354.9 kB / 0.5708 GB, free: 1.301 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.02535, allocations: 20.88 kB / 0.5709 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.02541, allocations: 32.36 kB / 0.5709 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.02587, allocations: 359.2 kB / 0.5712 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.02589, allocations: 0 / 0.5712 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.02592, allocations: 12 kB / 0.5712 GB, free: 0.832 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.02594, allocations: 4 kB / 0.5713 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.02613, allocations: 81.36 kB / 0.5713 GB, free: 0.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.02772, allocations: 1.298 MB / 0.5726 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.02793, allocations: 83.11 kB / 0.5727 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.02799, allocations: 39.64 kB / 0.5727 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.274e-05/0.02808, allocations: 8.25 kB / 0.5727 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.02831, allocations: 207.2 kB / 0.5729 GB, free: 15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 8.425e-06/0.02832, allocations: 3.984 kB / 0.5729 GB, free: 15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0003205/0.02864, allocations: 141.4 kB / 0.5731 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.02868, allocations: 63.34 kB / 0.5731 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.02898, allocations: 350.1 kB / 0.5735 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.02901, allocations: 29.7 kB / 0.5735 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.02919, allocations: 271.1 kB / 0.5737 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.02924, allocations: 55.52 kB / 0.5738 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.796e-05/0.02933, allocations: 59.3 kB / 0.5738 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.0295, allocations: 0.5195 MB / 0.5744 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.422e-05/0.02959, allocations: 53.67 kB / 0.5744 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.02972, allocations: 162.1 kB / 0.5746 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.02996, allocations: 204.6 kB / 0.5748 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.02997, allocations: 4 kB / 0.5748 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003714/0.03034, allocations: 260.6 kB / 0.575 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.03038, allocations: 36.83 kB / 0.575 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.03039, allocations: 0 / 0.575 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.0304, allocations: 4 kB / 0.575 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.03061, allocations: 55.91 kB / 0.5751 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.03062, allocations: 4 kB / 0.5751 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.03084, allocations: 31.83 kB / 0.5751 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.03086, allocations: 12.31 kB / 0.5751 GB, free: 12.52 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.0001559/0.03102, allocations: 176.4 kB / 0.5753 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.03108, allocations: 43.8 kB / 0.5754 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.03135, allocations: 120.5 kB / 0.5755 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.03135, allocations: 4 kB / 0.5755 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.03136, allocations: 0 / 0.5755 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002584/0.03161, allocations: 427.7 kB / 0.5759 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.03197, allocations: 209 kB / 0.5761 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03198, allocations: 0 / 0.5761 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.03211, allocations: 31.98 kB / 0.5761 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.03211, allocations: 4 kB / 0.5761 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.03213, allocations: 0 / 0.5761 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.03213, allocations: 4 kB / 0.5761 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.03214, allocations: 0 / 0.5761 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.03246, allocations: 203.4 kB / 0.5763 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.03257, allocations: 47.72 kB / 0.5764 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.03261, allocations: 0 / 0.5764 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.03278, allocations: 15.98 kB / 0.5764 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.03285, allocations: 11.97 kB / 0.5764 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.03287, allocations: 12 kB / 0.5764 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001916/0.03306, allocations: 230.9 kB / 0.5766 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.21e-07/0.03306, allocations: 0 / 0.5766 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004549/0.03352, allocations: 111.7 kB / 0.5767 GB, free: 10.75 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.0002903/0.03381, allocations: 155.1 kB / 0.5769 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.03409, allocations: 185 kB / 0.577 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.0341, allocations: 0 / 0.577 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.03418, allocations: 47.64 kB / 0.5771 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.03497, allocations: 219 kB / 0.5773 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.03657, allocations: 0.6342 MB / 0.5779 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.139e-05/0.03664, allocations: 96.47 kB / 0.578 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.03688, allocations: 51.27 kB / 0.5781 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.03729, allocations: 210 kB / 0.5783 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.03729, allocations: 0 / 0.5783 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of Templates: time 0.01415/0.05144, allocations: 7.406 MB / 0.5855 GB, free: 1.871 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.823034506291151]