Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3058/0.3058, allocations: 55.01 MB / 69.96 MB, free: 8.656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001157/0.001157, allocations: 187.2 kB / 83.98 MB, free: 10.82 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.833/1.833, allocations: 194.4 MB / 292.3 MB, free: 3.609 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001836/0.001836, allocations: 103.7 kB / 350.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005134, allocations: 15.98 kB / 418.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1943, allocations: 57.64 MB / 476.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.235/1.429, allocations: 336.4 MB / 0.7938 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/1.43, allocations: 89.81 kB / 0.7939 GB, free: 92.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1475/1.577, allocations: 73.88 MB / 0.8661 GB, free: 24.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.086e-06/1.577, allocations: 0 / 0.8661 GB, free: 24.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.64e-05/1.577, allocations: 8 kB / 0.8661 GB, free: 24.71 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001947/1.579, allocations: 0.7191 MB / 0.8668 GB, free: 23.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/1.58, allocations: 8.031 kB / 0.8668 GB, free: 23.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/1.58, allocations: 43.53 kB / 0.8668 GB, free: 23.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/1.594, allocations: 6.379 MB / 0.873 GB, free: 17.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/1.594, allocations: 12.56 kB / 0.8731 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/1.595, allocations: 27.95 kB / 0.8731 GB, free: 17.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/1.595, allocations: 306.8 kB / 0.8734 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/1.595, allocations: 3.938 kB / 0.8734 GB, free: 17.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/1.596, allocations: 12 kB / 0.8734 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/1.596, allocations: 8 kB / 0.8734 GB, free: 17.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/1.596, allocations: 197.6 kB / 0.8736 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/1.599, allocations: 1.426 MB / 0.875 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/1.599, allocations: 190.4 kB / 0.8752 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/1.601, allocations: 0.787 MB / 0.8759 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/1.601, allocations: 124.3 kB / 0.876 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 5.069e-06/1.601, allocations: 0 / 0.876 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0008834/1.602, allocations: 248.3 kB / 0.8763 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/1.602, allocations: 63.39 kB / 0.8763 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/1.602, allocations: 296.9 kB / 0.8766 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/1.603, allocations: 29.7 kB / 0.8767 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/1.603, allocations: 207.9 kB / 0.8768 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.321e-05/1.603, allocations: 51.2 kB / 0.8769 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/1.603, allocations: 12 kB / 0.8769 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.603, allocations: 342.8 kB / 0.8772 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/1.603, allocations: 68.19 kB / 0.8773 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/1.604, allocations: 153.9 kB / 0.8774 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/1.604, allocations: 121.6 kB / 0.8776 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.604, allocations: 0 / 0.8776 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006967/1.605, allocations: 314.6 kB / 0.8779 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.46e-05/1.605, allocations: 33.7 kB / 0.8779 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.605, allocations: 4 kB / 0.8779 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/1.605, allocations: 4 kB / 0.8779 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/1.605, allocations: 52.22 kB / 0.878 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/1.605, allocations: 8 kB / 0.878 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/1.605, allocations: 35.73 kB / 0.878 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/1.605, allocations: 15.98 kB / 0.878 GB, free: 11.95 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000274/1.606, allocations: 157.7 kB / 0.8782 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/1.606, allocations: 35.58 kB / 0.8782 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/1.606, allocations: 200.5 kB / 0.8784 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.606, allocations: 3.938 kB / 0.8784 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.606, allocations: 8 kB / 0.8784 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000546/1.607, allocations: 0.4957 MB / 0.8789 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/1.608, allocations: 375.9 kB / 0.8792 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.608, allocations: 0 / 0.8792 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/1.608, allocations: 39.91 kB / 0.8793 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/1.608, allocations: 7.953 kB / 0.8793 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/1.608, allocations: 32 / 0.8793 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/1.608, allocations: 4 kB / 0.8793 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.608, allocations: 4 kB / 0.8793 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/1.609, allocations: 322.5 kB / 0.8796 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/1.609, allocations: 128.7 kB / 0.8797 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/1.609, allocations: 4 kB / 0.8797 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/1.609, allocations: 19.97 kB / 0.8797 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/1.609, allocations: 23.92 kB / 0.8798 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/1.609, allocations: 7.984 kB / 0.8798 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003103/1.61, allocations: 247.2 kB / 0.88 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/1.61, allocations: 0 / 0.88 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006834/1.61, allocations: 131.8 kB / 0.8801 GB, free: 9.566 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005707/1.611, allocations: 230.7 kB / 0.8804 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005253/1.611, allocations: 243.1 kB / 0.8806 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.611, allocations: 0 / 0.8806 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/1.612, allocations: 76.59 kB / 0.8807 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/1.613, allocations: 205 kB / 0.8809 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/1.614, allocations: 0.9418 MB / 0.8818 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/1.615, allocations: 0.7914 MB / 0.8826 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003713/1.615, allocations: 59.25 kB / 0.8826 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/1.615, allocations: 31.42 kB / 0.8826 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of SimCode: time 1.452e-06/1.615, allocations: 0 / 0.8826 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of Templates: time 0.3392/1.954, allocations: 7.035 MB / 0.8895 GB, free: 146.5 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.sim & ./Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)