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.0009622/0.0009622, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009377/0.0009377, allocations: 173 kB / 23.03 MB, free: 1.539 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 0.9179/0.9179, allocations: 177.1 MB / 203.4 MB, free: 5.562 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.002532/0.002532, allocations: 236.7 kB / 260.2 MB, free: 12.82 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.7015/0.7015, allocations: 138.4 MB / 455.2 MB, free: 1.5 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.613e-06/1.613e-06, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.653e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.007658/0.007684, allocations: 7.241 MB / 0.5622 GB, free: 9.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.01105, allocations: 2.481 MB / 0.5646 GB, free: 6.738 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004/0.01145, allocations: 27.81 kB / 0.5646 GB, free: 6.711 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.01188, allocations: 135 kB / 0.5647 GB, free: 6.578 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.01296, allocations: 0.5282 MB / 0.5653 GB, free: 6.047 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.01356, allocations: 359.1 kB / 0.5656 GB, free: 5.695 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.01471, allocations: 1.098 MB / 0.5667 GB, free: 4.594 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/0.01514, allocations: 265.1 kB / 0.5669 GB, free: 4.332 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009737/0.01611, allocations: 0.5373 MB / 0.5674 GB, free: 3.801 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.01653, allocations: 283.1 kB / 0.5677 GB, free: 3.523 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.01658, allocations: 32 kB / 0.5677 GB, free: 3.492 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.01686, allocations: 131.7 kB / 0.5679 GB, free: 3.363 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.912e-05/0.01695, allocations: 103.5 kB / 0.568 GB, free: 3.262 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.01708, allocations: 143.7 kB / 0.5681 GB, free: 3.121 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.01764, allocations: 406.6 kB / 0.5685 GB, free: 2.723 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.01764, allocations: 8 kB / 0.5685 GB, free: 2.715 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01765, allocations: 0 / 0.5685 GB, free: 2.715 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.01765, allocations: 0 / 0.5685 GB, free: 2.715 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.0008792/0.01853, allocations: 0.7539 MB / 0.5692 GB, free: 1.918 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.01857, allocations: 8.75 kB / 0.5693 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.01876, allocations: 84.52 kB / 0.5693 GB, free: 1.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.01918, allocations: 358.9 kB / 0.5697 GB, free: 1.449 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.0192, allocations: 20.86 kB / 0.5697 GB, free: 1.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.01925, allocations: 28.38 kB / 0.5697 GB, free: 1.402 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.01971, allocations: 383.2 kB / 0.5701 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.01972, allocations: 4 kB / 0.5701 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.01975, allocations: 12 kB / 0.5701 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.01979, allocations: 8 kB / 0.5701 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.01999, allocations: 90.86 kB / 0.5702 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.02137, allocations: 1.298 MB / 0.5715 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.02161, allocations: 91.11 kB / 0.5715 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.02167, allocations: 35.67 kB / 0.5716 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.78e-05/0.02176, allocations: 12.23 kB / 0.5716 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.02197, allocations: 207.7 kB / 0.5718 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.02197, allocations: 0 / 0.5718 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0003206/0.02229, allocations: 149.4 kB / 0.5719 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.02232, allocations: 55.34 kB / 0.572 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.02261, allocations: 354.3 kB / 0.5723 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.02263, allocations: 37.7 kB / 0.5724 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.02278, allocations: 263.1 kB / 0.5726 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.02283, allocations: 59.52 kB / 0.5727 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/0.02291, allocations: 67.3 kB / 0.5727 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.02306, allocations: 0.5117 MB / 0.5732 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/0.02314, allocations: 57.67 kB / 0.5733 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.02327, allocations: 166.2 kB / 0.5734 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.02347, allocations: 216.5 kB / 0.5737 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02348, allocations: 0 / 0.5737 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003491/0.02382, allocations: 272.8 kB / 0.5739 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.02386, allocations: 41.14 kB / 0.574 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.02387, allocations: 0 / 0.574 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.02388, allocations: 4 kB / 0.574 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.02406, allocations: 55.91 kB / 0.574 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.02406, allocations: 4 kB / 0.574 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.02422, allocations: 31.83 kB / 0.574 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.02424, allocations: 8 kB / 0.5741 GB, free: 12.59 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.0001175/0.02435, allocations: 188.3 kB / 0.5742 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.0244, allocations: 43.8 kB / 0.5743 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.02463, allocations: 136 kB / 0.5744 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.02463, allocations: 0 / 0.5744 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.02463, allocations: 0 / 0.5744 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002449/0.02488, allocations: 435.7 kB / 0.5748 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.02518, allocations: 256.4 kB / 0.5751 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.02519, allocations: 3.984 kB / 0.5751 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.02529, allocations: 27.98 kB / 0.5751 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.0253, allocations: 0 / 0.5751 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.02531, allocations: 8 kB / 0.5751 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.02532, allocations: 4 kB / 0.5751 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.02532, allocations: 4 kB / 0.5751 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.0256, allocations: 204 kB / 0.5753 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.919e-05/0.02569, allocations: 47.72 kB / 0.5753 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.02573, allocations: 8 kB / 0.5754 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.02585, allocations: 11.98 kB / 0.5754 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.02591, allocations: 15.97 kB / 0.5754 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.02592, allocations: 4 kB / 0.5754 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001766/0.0261, allocations: 239 kB / 0.5756 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.0261, allocations: 4 kB / 0.5756 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003859/0.02649, allocations: 119.7 kB / 0.5757 GB, free: 10.71 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.0002305/0.02672, allocations: 147 kB / 0.5759 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.02698, allocations: 197 kB / 0.5761 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02699, allocations: 0 / 0.5761 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.507e-05/0.02706, allocations: 47.59 kB / 0.5761 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.02774, allocations: 203 kB / 0.5763 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.02903, allocations: 0.6381 MB / 0.5769 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.897e-05/0.0291, allocations: 100.5 kB / 0.577 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.02931, allocations: 63.19 kB / 0.5771 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.02939, allocations: 36.48 kB / 0.5771 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.02939, allocations: 0 / 0.5771 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of Templates: time 0.01169/0.04108, allocations: 7.294 MB / 0.5842 GB, free: 2.09 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.7537193461321294]