Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000863/0.000863, allocations: 168.7 kB / 16.76 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4536/0.4536, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 348.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009881/0.0009883, allocations: 98.05 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.000427, allocations: 12 kB / 0.4901 GB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3816, allocations: 71.01 MB / 0.5594 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.5203, allocations: 106.8 MB / 0.6637 GB, free: 2.711 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.5206, allocations: 84.92 kB / 0.6638 GB, free: 2.629 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0324/0.553, allocations: 12.37 MB / 0.6759 GB, free: 6.234 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5531, allocations: 0 / 0.6759 GB, free: 6.234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.521e-05/0.5532, allocations: 16 kB / 0.6759 GB, free: 6.219 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002088/0.5553, allocations: 0.9503 MB / 0.6768 GB, free: 5.211 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5553, allocations: 8.031 kB / 0.6768 GB, free: 5.203 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.5556, allocations: 91.84 kB / 0.6769 GB, free: 5.113 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.5566, allocations: 0.5379 MB / 0.6774 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.5567, allocations: 49.62 kB / 0.6775 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.5568, allocations: 56.38 kB / 0.6775 GB, free: 4.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.5581, allocations: 0.6644 MB / 0.6782 GB, free: 3.734 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.5582, allocations: 3.938 kB / 0.6782 GB, free: 3.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.5582, allocations: 28 kB / 0.6782 GB, free: 3.703 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.5583, allocations: 12 kB / 0.6782 GB, free: 3.691 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.5595, allocations: 0.5165 MB / 0.6787 GB, free: 3.176 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003446/0.5629, allocations: 2.103 MB / 0.6808 GB, free: 1.008 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.5641, allocations: 0.5281 MB / 0.6813 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/0.5646, allocations: 270.1 kB / 0.6816 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.5647, allocations: 4.438 kB / 0.6816 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006739/0.5654, allocations: 305.2 kB / 0.6819 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.755e-06/0.5654, allocations: 0 / 0.6819 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.001516/0.5669, allocations: 0.7015 MB / 0.6825 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.567, allocations: 162.7 kB / 0.6827 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005883/0.5676, allocations: 458 kB / 0.6831 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.5677, allocations: 37.7 kB / 0.6832 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.5679, allocations: 321.1 kB / 0.6835 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.5681, allocations: 173.5 kB / 0.6836 GB, free: 14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.5681, allocations: 12 kB / 0.6837 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5683, allocations: 362.8 kB / 0.684 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.5688, allocations: 205 kB / 0.6842 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.5693, allocations: 311.5 kB / 0.6845 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.5703, allocations: 0.4983 MB / 0.685 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5703, allocations: 0 / 0.685 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001239/0.5716, allocations: 0.6287 MB / 0.6856 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/0.5716, allocations: 33.64 kB / 0.6856 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.5717, allocations: 7.984 kB / 0.6856 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5717, allocations: 4 kB / 0.6856 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.5722, allocations: 124 kB / 0.6858 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.5722, allocations: 8 kB / 0.6858 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.5726, allocations: 79.55 kB / 0.6858 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.5727, allocations: 20 kB / 0.6859 GB, free: 11.64 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0003146/0.573, allocations: 205.8 kB / 0.6861 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5731, allocations: 63.22 kB / 0.6861 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.5733, allocations: 69.58 kB / 0.6862 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.5733, allocations: 4 kB / 0.6862 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.5733, allocations: 7.938 kB / 0.6862 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.5733, allocations: 3.984 kB / 0.6862 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.5754, allocations: 1.314 MB / 0.6875 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5754, allocations: 0 / 0.6875 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.576, allocations: 107.8 kB / 0.6876 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.576, allocations: 48 / 0.6876 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.576, allocations: 23.97 kB / 0.6876 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.576, allocations: 0 / 0.6876 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.576, allocations: 4 kB / 0.6876 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.5776, allocations: 0.8935 MB / 0.6885 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.5779, allocations: 184.3 kB / 0.6887 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.578, allocations: 8 kB / 0.6887 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.5783, allocations: 51.97 kB / 0.6887 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.5785, allocations: 36.38 kB / 0.6888 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.5785, allocations: 12 kB / 0.6888 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00043/0.5789, allocations: 314.9 kB / 0.6891 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.52e-07/0.5789, allocations: 0 / 0.6891 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000556/0.5795, allocations: 151.5 kB / 0.6892 GB, free: 8.109 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.0002094/0.5797, allocations: 135.8 kB / 0.6893 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.5809, allocations: 0.5443 MB / 0.6899 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5809, allocations: 0 / 0.6899 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005182/0.5814, allocations: 258.3 kB / 0.6901 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008605/0.5823, allocations: 148.6 kB / 0.6903 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.5859, allocations: 1.84 MB / 0.6921 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.5864, allocations: 0.8903 MB / 0.6929 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000334/0.5868, allocations: 60.55 kB / 0.693 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.5869, allocations: 39.42 kB / 0.693 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.5869, allocations: 4 kB / 0.693 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of Templates: time 0.01289/0.5998, allocations: 6.327 MB / 0.6992 GB, free: 13.88 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)