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.001077/0.001077, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001134/0.001134, allocations: 173 kB / 23.49 MB, free: 1.059 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.9645/0.9645, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.001708/0.001708, allocations: 241 kB / 260.5 MB, free: 12.88 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.788/0.788, allocations: 138.4 MB / 455.4 MB, free: 1.504 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.784e-06/1.784e-06, allocations: 0 / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.212e-05, allocations: 6.25 kB / 0.555 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.0123/0.01233, allocations: 14.93 MB / 0.5696 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004523/0.01685, allocations: 3.713 MB / 0.5732 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.01741, allocations: 23.81 kB / 0.5732 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.01803, allocations: 194.6 kB / 0.5734 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.01932, allocations: 0.6487 MB / 0.5741 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007833/0.02011, allocations: 406.9 kB / 0.5744 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.02126, allocations: 1.11 MB / 0.5755 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.02162, allocations: 277 kB / 0.5758 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008533/0.02248, allocations: 0.5245 MB / 0.5763 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.02282, allocations: 287.1 kB / 0.5766 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.02287, allocations: 36 kB / 0.5766 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.0233, allocations: 219.4 kB / 0.5768 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.0234, allocations: 107.5 kB / 0.5769 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.02353, allocations: 143.7 kB / 0.5771 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.02416, allocations: 458.4 kB / 0.5775 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.02416, allocations: 3.984 kB / 0.5775 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.965e-06/0.02417, allocations: 4 kB / 0.5775 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.02417, allocations: 0 / 0.5775 GB, free: 9.746 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.0009128/0.02509, allocations: 0.7772 MB / 0.5783 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.02513, allocations: 12.73 kB / 0.5783 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.02537, allocations: 76.59 kB / 0.5784 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006674/0.02604, allocations: 402.8 kB / 0.5787 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.02607, allocations: 20.88 kB / 0.5788 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.02612, allocations: 28.38 kB / 0.5788 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.02656, allocations: 379.2 kB / 0.5791 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.02658, allocations: 0 / 0.5791 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.0266, allocations: 12 kB / 0.5792 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.02663, allocations: 4 kB / 0.5792 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.0268, allocations: 98.86 kB / 0.5793 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.02803, allocations: 1.298 MB / 0.5805 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.02826, allocations: 83.17 kB / 0.5806 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.02832, allocations: 47.61 kB / 0.5806 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.02843, allocations: 15.98 kB / 0.5807 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.02865, allocations: 203.8 kB / 0.5809 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/0.02865, allocations: 0 / 0.5809 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0003492/0.029, allocations: 153.2 kB / 0.581 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.02905, allocations: 51.41 kB / 0.5811 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.0295, allocations: 354.3 kB / 0.5814 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.02952, allocations: 29.7 kB / 0.5814 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.02966, allocations: 271.1 kB / 0.5817 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.0297, allocations: 55.53 kB / 0.5817 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.02976, allocations: 67.3 kB / 0.5818 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.02992, allocations: 0.5117 MB / 0.5823 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.02999, allocations: 65.61 kB / 0.5824 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.0301, allocations: 162.2 kB / 0.5825 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.03029, allocations: 200.5 kB / 0.5827 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.0303, allocations: 4 kB / 0.5827 GB, free: 4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003014/0.0306, allocations: 274.8 kB / 0.583 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.03064, allocations: 33.7 kB / 0.583 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.03065, allocations: 4.312 kB / 0.583 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.03067, allocations: 11.98 kB / 0.583 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.03083, allocations: 55.91 kB / 0.5831 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.03084, allocations: 7.938 kB / 0.5831 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.03097, allocations: 31.83 kB / 0.5831 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.03099, allocations: 12 kB / 0.5831 GB, free: 3.555 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.000128/0.03112, allocations: 176.4 kB / 0.5833 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.03117, allocations: 35.81 kB / 0.5833 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.03139, allocations: 132.5 kB / 0.5834 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.03139, allocations: 8 kB / 0.5835 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.0314, allocations: 0 / 0.5835 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002043/0.0316, allocations: 435.7 kB / 0.5839 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.03189, allocations: 256.4 kB / 0.5841 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.0319, allocations: 0 / 0.5841 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.03199, allocations: 27.97 kB / 0.5841 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.03199, allocations: 7.938 kB / 0.5841 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.032, allocations: 4 kB / 0.5842 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.032, allocations: 0 / 0.5842 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03201, allocations: 0 / 0.5842 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.03225, allocations: 212 kB / 0.5844 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.03233, allocations: 47.72 kB / 0.5844 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.03236, allocations: 8 kB / 0.5844 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.03247, allocations: 7.984 kB / 0.5844 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.03252, allocations: 19.97 kB / 0.5844 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.03254, allocations: 8 kB / 0.5844 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004322/0.03297, allocations: 239 kB / 0.5847 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.03297, allocations: 0 / 0.5847 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000322/0.03329, allocations: 131.6 kB / 0.5848 GB, free: 1.672 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.0002733/0.03357, allocations: 198.9 kB / 0.585 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.0338, allocations: 189.1 kB / 0.5852 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.0338, allocations: 0 / 0.5852 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.244e-05/0.03387, allocations: 50.56 kB / 0.5852 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.03439, allocations: 207.6 kB / 0.5854 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.03547, allocations: 0.6415 MB / 0.586 GB, free: 352 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.556e-05/0.03553, allocations: 100.6 kB / 0.5861 GB, free: 232 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.03567, allocations: 55.2 kB / 0.5862 GB, free: 176 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.03573, allocations: 36.48 kB / 0.5862 GB, free: 140 kB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/0.03573, allocations: 0 / 0.5862 GB, free: 140 kB / 0.4948 GB Notification: Performance of Templates: time 0.009576/0.04531, allocations: 7.256 MB / 0.5933 GB, free: 9.055 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.109870977932587]