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.001364/0.001364, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001645/0.001645, allocations: 170 kB / 23.27 MB, free: 1.223 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.9486/0.9486, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.002075/0.002075, allocations: 244.6 kB / 260.5 MB, free: 12.65 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.7448/0.7448, allocations: 138.4 MB / 455.5 MB, free: 29.96 MB / 410.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.5556 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.772e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.006546/0.006564, allocations: 7.174 MB / 0.5626 GB, free: 8.684 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.009549, allocations: 2.463 MB / 0.565 GB, free: 6.211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.009817, allocations: 23.81 kB / 0.565 GB, free: 6.188 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.01017, allocations: 135 kB / 0.5651 GB, free: 6.055 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007899/0.01096, allocations: 0.5243 MB / 0.5656 GB, free: 5.527 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.01172, allocations: 375 kB / 0.566 GB, free: 5.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008831/0.01261, allocations: 1.09 MB / 0.5671 GB, free: 4.07 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.0129, allocations: 269.1 kB / 0.5673 GB, free: 3.805 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009008/0.0138, allocations: 0.5332 MB / 0.5678 GB, free: 3.277 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.01418, allocations: 287 kB / 0.5681 GB, free: 2.996 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.01424, allocations: 32 kB / 0.5681 GB, free: 2.965 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.01451, allocations: 131.7 kB / 0.5683 GB, free: 2.836 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.47e-05/0.0146, allocations: 107.5 kB / 0.5684 GB, free: 2.73 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.01475, allocations: 143.7 kB / 0.5685 GB, free: 2.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.01529, allocations: 414.5 kB / 0.5689 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01529, allocations: 0 / 0.5689 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01529, allocations: 0 / 0.5689 GB, free: 2.184 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.01529, allocations: 0 / 0.5689 GB, free: 2.184 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.0008643/0.01616, allocations: 0.7543 MB / 0.5696 GB, free: 1.387 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.0162, allocations: 13.94 kB / 0.5696 GB, free: 1.375 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.01638, allocations: 84.52 kB / 0.5697 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.01681, allocations: 354.9 kB / 0.5701 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.01684, allocations: 24.88 kB / 0.5701 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.01688, allocations: 28.38 kB / 0.5701 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.01727, allocations: 355.2 kB / 0.5705 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.01729, allocations: 7.984 kB / 0.5705 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.01731, allocations: 8 kB / 0.5705 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.01734, allocations: 8 kB / 0.5705 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.01747, allocations: 77.36 kB / 0.5705 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.01872, allocations: 1.302 MB / 0.5718 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.0189, allocations: 95.08 kB / 0.5719 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.01895, allocations: 31.66 kB / 0.5719 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-05/0.01901, allocations: 12.64 kB / 0.572 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.01919, allocations: 195.8 kB / 0.5721 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.01919, allocations: 4 kB / 0.5721 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002606/0.01945, allocations: 140.6 kB / 0.5723 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.01948, allocations: 59.34 kB / 0.5723 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.01976, allocations: 350.1 kB / 0.5727 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.01978, allocations: 29.7 kB / 0.5727 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.01994, allocations: 271 kB / 0.573 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.01999, allocations: 59.52 kB / 0.573 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.02007, allocations: 67.27 kB / 0.5731 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.02026, allocations: 0.5156 MB / 0.5736 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.02032, allocations: 57.67 kB / 0.5736 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.02043, allocations: 159.5 kB / 0.5738 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.02061, allocations: 196.3 kB / 0.574 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.02062, allocations: 4 kB / 0.574 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003773/0.02099, allocations: 256.6 kB / 0.5742 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.02102, allocations: 33.7 kB / 0.5743 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.02103, allocations: 7.922 kB / 0.5743 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.02105, allocations: 4 kB / 0.5743 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.02123, allocations: 60.22 kB / 0.5743 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.02123, allocations: 8 kB / 0.5743 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.0214, allocations: 31.83 kB / 0.5744 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.02142, allocations: 12 kB / 0.5744 GB, free: 12.14 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.0001145/0.02153, allocations: 177.8 kB / 0.5745 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.02158, allocations: 43.8 kB / 0.5746 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.02179, allocations: 120.5 kB / 0.5747 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.02179, allocations: 4 kB / 0.5747 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.02179, allocations: 0 / 0.5747 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002252/0.02202, allocations: 431.7 kB / 0.5751 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.02229, allocations: 213 kB / 0.5753 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02229, allocations: 0 / 0.5753 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.02241, allocations: 27.98 kB / 0.5753 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.02241, allocations: 0 / 0.5753 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.02243, allocations: 4 kB / 0.5753 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.02243, allocations: 4 kB / 0.5754 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02243, allocations: 0 / 0.5754 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.02268, allocations: 195.2 kB / 0.5755 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.02276, allocations: 47.72 kB / 0.5756 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.02279, allocations: 4 kB / 0.5756 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.02292, allocations: 19.98 kB / 0.5756 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.02297, allocations: 11.97 kB / 0.5756 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.02298, allocations: 7.984 kB / 0.5756 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002887/0.02327, allocations: 230.9 kB / 0.5758 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02327, allocations: 0 / 0.5758 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000358/0.02363, allocations: 115.7 kB / 0.576 GB, free: 10.36 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.0002038/0.02383, allocations: 147.1 kB / 0.5761 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.02407, allocations: 187.6 kB / 0.5763 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02407, allocations: 3.938 kB / 0.5763 GB, free: 10 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.02415, allocations: 48.22 kB / 0.5763 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/0.02482, allocations: 207.3 kB / 0.5765 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.02603, allocations: 0.6303 MB / 0.5771 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.895e-05/0.0261, allocations: 96.61 kB / 0.5772 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.02629, allocations: 56.14 kB / 0.5773 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.02663, allocations: 210 kB / 0.5775 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.02663, allocations: 4 kB / 0.5775 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of Templates: time 0.01233/0.03896, allocations: 7.33 MB / 0.5846 GB, free: 1.59 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.701467238832265]