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.001024/0.001024, allocations: 93.06 kB / 19.65 MB, free: 272 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.001219/0.001219, allocations: 169 kB / 23.02 MB, free: 1.547 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.9937/0.9937, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001661/0.001661, allocations: 238.5 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.772/0.772, allocations: 138.4 MB / 455.2 MB, free: 1.57 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 2.415e-06/2.415e-06, allocations: 0 / 0.5551 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.601e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.007365/0.007401, allocations: 7.248 MB / 0.5622 GB, free: 9.297 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.01127, allocations: 2.475 MB / 0.5646 GB, free: 6.809 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.01175, allocations: 31.81 kB / 0.5646 GB, free: 6.777 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.01227, allocations: 127 kB / 0.5647 GB, free: 6.652 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.01356, allocations: 0.536 MB / 0.5653 GB, free: 6.113 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.01436, allocations: 351.2 kB / 0.5656 GB, free: 5.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.0158, allocations: 1.103 MB / 0.5667 GB, free: 4.664 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.01628, allocations: 261.1 kB / 0.5669 GB, free: 4.406 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.0174, allocations: 0.5052 MB / 0.5674 GB, free: 3.91 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004956/0.01789, allocations: 279.1 kB / 0.5677 GB, free: 3.637 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.01795, allocations: 32 kB / 0.5677 GB, free: 3.605 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.01832, allocations: 151.6 kB / 0.5679 GB, free: 3.457 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.01872, allocations: 99.59 kB / 0.5679 GB, free: 3.359 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.01891, allocations: 147.7 kB / 0.5681 GB, free: 3.215 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007237/0.01963, allocations: 414.5 kB / 0.5685 GB, free: 2.809 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.01964, allocations: 4 kB / 0.5685 GB, free: 2.805 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01964, allocations: 0 / 0.5685 GB, free: 2.805 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.01965, allocations: 0 / 0.5685 GB, free: 2.805 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.001043/0.02069, allocations: 0.7695 MB / 0.5692 GB, free: 1.992 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.02074, allocations: 8.75 kB / 0.5692 GB, free: 1.984 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.02096, allocations: 76.58 kB / 0.5693 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.02163, allocations: 406.9 kB / 0.5697 GB, free: 1.484 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.02166, allocations: 20.81 kB / 0.5697 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.02172, allocations: 28.38 kB / 0.5698 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.02221, allocations: 379.3 kB / 0.5701 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.02222, allocations: 3.953 kB / 0.5701 GB, free: 1.008 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.02225, allocations: 15.98 kB / 0.5701 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.02229, allocations: 8 kB / 0.5701 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.02249, allocations: 94.81 kB / 0.5702 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.02434, allocations: 1.29 MB / 0.5715 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.02459, allocations: 99.09 kB / 0.5716 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.02466, allocations: 31.67 kB / 0.5716 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.02476, allocations: 8.25 kB / 0.5716 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.02497, allocations: 203.8 kB / 0.5718 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.515e-06/0.02497, allocations: 0 / 0.5718 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0003333/0.0253, allocations: 149.4 kB / 0.572 GB, free: 15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.02534, allocations: 55.41 kB / 0.572 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.02564, allocations: 370.1 kB / 0.5724 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.02567, allocations: 29.7 kB / 0.5724 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.02582, allocations: 271.1 kB / 0.5727 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.543e-05/0.02587, allocations: 55.53 kB / 0.5727 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.02595, allocations: 55.36 kB / 0.5728 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.02611, allocations: 0.5195 MB / 0.5733 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.0262, allocations: 53.69 kB / 0.5733 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.02633, allocations: 170.1 kB / 0.5735 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.02655, allocations: 212.5 kB / 0.5737 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.02655, allocations: 0 / 0.5737 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000354/0.02691, allocations: 278.9 kB / 0.574 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.02694, allocations: 37.69 kB / 0.574 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.02695, allocations: 4 kB / 0.574 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.02697, allocations: 4 kB / 0.574 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.02715, allocations: 55.91 kB / 0.574 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.02716, allocations: 4 kB / 0.5741 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.02731, allocations: 23.89 kB / 0.5741 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.02733, allocations: 15.98 kB / 0.5741 GB, free: 12.62 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.0001376/0.02747, allocations: 180.6 kB / 0.5743 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.02752, allocations: 31.81 kB / 0.5743 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.02777, allocations: 152.3 kB / 0.5744 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.02778, allocations: 0 / 0.5744 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.02778, allocations: 0 / 0.5744 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002603/0.02804, allocations: 435.2 kB / 0.5749 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.02837, allocations: 248.5 kB / 0.5751 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.02838, allocations: 0 / 0.5751 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.02849, allocations: 35.92 kB / 0.5751 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.02849, allocations: 4 kB / 0.5751 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.02851, allocations: 0 / 0.5751 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.02851, allocations: 3.984 kB / 0.5751 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.02851, allocations: 0 / 0.5751 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.02882, allocations: 200 kB / 0.5753 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.283e-05/0.02891, allocations: 55.7 kB / 0.5754 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.02895, allocations: 7.938 kB / 0.5754 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.02907, allocations: 11.98 kB / 0.5754 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.02913, allocations: 15.97 kB / 0.5754 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.02915, allocations: 11.98 kB / 0.5754 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001903/0.02934, allocations: 239 kB / 0.5756 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02934, allocations: 0 / 0.5756 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003908/0.02973, allocations: 111.8 kB / 0.5758 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.000238/0.02997, allocations: 151.1 kB / 0.5759 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.03024, allocations: 193 kB / 0.5761 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03024, allocations: 0 / 0.5761 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.03032, allocations: 47.59 kB / 0.5761 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.0007575/0.03108, allocations: 221.9 kB / 0.5763 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.03241, allocations: 0.6304 MB / 0.577 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.57e-05/0.03248, allocations: 100.5 kB / 0.5771 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.03268, allocations: 67.12 kB / 0.5771 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.03275, allocations: 28.5 kB / 0.5771 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.03275, allocations: 0 / 0.5771 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of Templates: time 0.01122/0.04398, allocations: 6.657 MB / 0.5836 GB, free: 2.777 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: 4.116548041347414]