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.00185/0.00185, allocations: 81.5 kB / 19.44 MB, free: 344 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.00211/0.00211, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.003151/0.003151, allocations: 246.8 kB / 259.8 MB, free: 12.86 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 1.202/1.202, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.392e-06/1.392e-06, allocations: 0 / 0.5543 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/2.987e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.02146/0.02149, allocations: 14.86 MB / 0.5688 GB, free: 1.973 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007042/0.02854, allocations: 3.702 MB / 0.5724 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005537/0.02909, allocations: 23.81 kB / 0.5725 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007647/0.02985, allocations: 202.6 kB / 0.5726 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.03171, allocations: 0.6487 MB / 0.5733 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.03287, allocations: 406.8 kB / 0.5737 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.03464, allocations: 1.114 MB / 0.5748 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005241/0.03517, allocations: 273 kB / 0.575 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.03654, allocations: 0.5291 MB / 0.5755 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.03706, allocations: 279.1 kB / 0.5758 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.643e-05/0.03714, allocations: 36 kB / 0.5758 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006511/0.03779, allocations: 219.4 kB / 0.576 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.03794, allocations: 103.6 kB / 0.5761 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.03817, allocations: 151.6 kB / 0.5763 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.03922, allocations: 0.6153 MB / 0.5769 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.03923, allocations: 0 / 0.5769 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.143e-06/0.03923, allocations: 0 / 0.5769 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.03923, allocations: 0 / 0.5769 GB, free: 9.688 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.001446/0.04068, allocations: 0.8123 MB / 0.5777 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.04072, allocations: 8.75 kB / 0.5777 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.04097, allocations: 76.59 kB / 0.5778 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008619/0.04183, allocations: 410.8 kB / 0.5782 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.04186, allocations: 20.88 kB / 0.5782 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.04193, allocations: 28.38 kB / 0.5782 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008035/0.04273, allocations: 434.5 kB / 0.5786 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.04275, allocations: 0 / 0.5786 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.04279, allocations: 12 kB / 0.5786 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.04282, allocations: 12 kB / 0.5786 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.04328, allocations: 173.8 kB / 0.5788 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.04552, allocations: 1.422 MB / 0.5802 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.04595, allocations: 143.1 kB / 0.5803 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.04611, allocations: 67.58 kB / 0.5804 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.04622, allocations: 8 kB / 0.5804 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.04661, allocations: 235.7 kB / 0.5806 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.04661, allocations: 0 / 0.5806 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0006013/0.04721, allocations: 212.7 kB / 0.5808 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.04727, allocations: 63.33 kB / 0.5809 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.0478, allocations: 430.2 kB / 0.5813 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.04784, allocations: 33.7 kB / 0.5813 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.0481, allocations: 283.1 kB / 0.5816 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.561e-05/0.04817, allocations: 59.53 kB / 0.5817 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.04829, allocations: 67.31 kB / 0.5817 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003355/0.04863, allocations: 0.5352 MB / 0.5822 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.04883, allocations: 85.67 kB / 0.5823 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.04913, allocations: 206.2 kB / 0.5825 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.04962, allocations: 266.3 kB / 0.5828 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.04962, allocations: 0 / 0.5828 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006566/0.05028, allocations: 339.1 kB / 0.5831 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.05033, allocations: 36.83 kB / 0.5831 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.05033, allocations: 4 kB / 0.5831 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.05035, allocations: 4 kB / 0.5831 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.0506, allocations: 55.91 kB / 0.5832 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.05062, allocations: 4 kB / 0.5832 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.05087, allocations: 32.14 kB / 0.5832 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.0509, allocations: 12 kB / 0.5832 GB, free: 2.734 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.0004049/0.0513, allocations: 208.4 kB / 0.5834 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/0.05138, allocations: 35.81 kB / 0.5835 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.05184, allocations: 172.4 kB / 0.5836 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.05185, allocations: 4 kB / 0.5836 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.05185, allocations: 0 / 0.5836 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005558/0.05241, allocations: 475.6 kB / 0.5841 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005361/0.05295, allocations: 312.4 kB / 0.5844 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.05295, allocations: 4 kB / 0.5844 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.05311, allocations: 27.98 kB / 0.5844 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.05311, allocations: 3.984 kB / 0.5844 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.05313, allocations: 4 kB / 0.5844 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.05313, allocations: 0 / 0.5844 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.05313, allocations: 0 / 0.5844 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.05377, allocations: 279.9 kB / 0.5847 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.05391, allocations: 51.7 kB / 0.5847 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.05396, allocations: 4 kB / 0.5848 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.05417, allocations: 19.98 kB / 0.5848 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.05424, allocations: 15.97 kB / 0.5848 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.05426, allocations: 7.984 kB / 0.5848 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003299/0.05459, allocations: 279 kB / 0.5851 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.05459, allocations: 0 / 0.5851 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004798/0.05507, allocations: 127.7 kB / 0.5852 GB, free: 0.5859 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.0003307/0.0554, allocations: 187.1 kB / 0.5854 GB, free: 404 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005161/0.05592, allocations: 273 kB / 0.5856 GB, free: 112 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.05592, allocations: 0 / 0.5856 GB, free: 112 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.0561, allocations: 67.66 kB / 0.5857 GB, free: 40 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.05711, allocations: 209.8 kB / 0.5859 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.05857, allocations: 0.6609 MB / 0.5865 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.05879, allocations: 185.1 kB / 0.5867 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002498/0.05904, allocations: 59.19 kB / 0.5868 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.043e-05/0.05913, allocations: 36.48 kB / 0.5868 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of SimCode: time 7.12e-07/0.05913, allocations: 0 / 0.5868 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.01591/0.07504, allocations: 7.249 MB / 0.5939 GB, free: 7.781 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: 6.307916079997085]