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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001421/0.001421, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5626/0.5626, allocations: 90.81 MB / 104.5 MB, free: 9.785 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.449/1.449, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008092/0.0008093, allocations: 107.3 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.424e-05, allocations: 0 / 0.4896 GB, free: 5.359 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.372, allocations: 72.31 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.5005, allocations: 108.1 MB / 0.6658 GB, free: 12.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.5008, allocations: 80.88 kB / 0.6658 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03138/0.5322, allocations: 12.36 MB / 0.6779 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5322, allocations: 0 / 0.6779 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.244e-05/0.5323, allocations: 16 kB / 0.6779 GB, free: 15.75 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001471/0.5337, allocations: 0.8606 MB / 0.6788 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.5338, allocations: 15.98 kB / 0.6788 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.534, allocations: 82.97 kB / 0.6789 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007883/0.5347, allocations: 0.5251 MB / 0.6794 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.5348, allocations: 45.31 kB / 0.6794 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/0.5349, allocations: 71.86 kB / 0.6795 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.536, allocations: 0.6015 MB / 0.6801 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.5361, allocations: 0 / 0.6801 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.5361, allocations: 24 kB / 0.6801 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.5361, allocations: 12 kB / 0.6801 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008409/0.537, allocations: 437.1 kB / 0.6805 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.5404, allocations: 2.095 MB / 0.6826 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.5412, allocations: 436.3 kB / 0.683 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.5415, allocations: 214.5 kB / 0.6832 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.5416, allocations: 12.42 kB / 0.6832 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004706/0.5421, allocations: 253.3 kB / 0.6834 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.605e-06/0.5421, allocations: 0 / 0.6834 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.0007631/0.5428, allocations: 428.3 kB / 0.6839 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.5429, allocations: 162.7 kB / 0.684 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.5434, allocations: 392 kB / 0.6844 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.5435, allocations: 37.7 kB / 0.6844 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.5437, allocations: 321.1 kB / 0.6847 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.5439, allocations: 173.5 kB / 0.6849 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.5439, allocations: 12 kB / 0.6849 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.544, allocations: 370.7 kB / 0.6853 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.5443, allocations: 153.1 kB / 0.6854 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.5447, allocations: 259.6 kB / 0.6856 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.545, allocations: 205.6 kB / 0.6858 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.545, allocations: 0 / 0.6858 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008096/0.5458, allocations: 0.5313 MB / 0.6864 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.5459, allocations: 34.8 kB / 0.6864 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5459, allocations: 0 / 0.6864 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5459, allocations: 4 kB / 0.6864 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.5464, allocations: 123.8 kB / 0.6865 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.5464, allocations: 10.53 kB / 0.6865 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.5469, allocations: 83.48 kB / 0.6866 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.5469, allocations: 16 kB / 0.6866 GB, free: 6.508 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 () * 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.0001329/0.5471, allocations: 144.8 kB / 0.6868 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.5472, allocations: 59.25 kB / 0.6868 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.5473, allocations: 65.38 kB / 0.6869 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.5473, allocations: 8 kB / 0.6869 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5474, allocations: 7.922 kB / 0.6869 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5474, allocations: 4.031 kB / 0.6869 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.549, allocations: 1.232 MB / 0.6881 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5491, allocations: 0 / 0.6881 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.5496, allocations: 107.9 kB / 0.6882 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5496, allocations: 0 / 0.6882 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.5496, allocations: 12 kB / 0.6882 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5496, allocations: 4 kB / 0.6882 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5496, allocations: 0 / 0.6882 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.5507, allocations: 0.7563 MB / 0.689 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.5509, allocations: 180.3 kB / 0.6891 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/0.551, allocations: 12 kB / 0.6891 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.5514, allocations: 51.95 kB / 0.6892 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.5515, allocations: 36.39 kB / 0.6892 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.5515, allocations: 15.98 kB / 0.6892 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003463/0.5519, allocations: 305.6 kB / 0.6895 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5519, allocations: 4 kB / 0.6895 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004561/0.5524, allocations: 147.5 kB / 0.6897 GB, free: 3.285 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) * 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.0001764/0.5525, allocations: 125.8 kB / 0.6898 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007028/0.5533, allocations: 465.1 kB / 0.6902 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5533, allocations: 0 / 0.6902 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.5536, allocations: 206.5 kB / 0.6904 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006678/0.5543, allocations: 140.7 kB / 0.6906 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.5569, allocations: 1.274 MB / 0.6918 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.5573, allocations: 0.9021 MB / 0.6927 GB, free: 124 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00031/0.5577, allocations: 60.55 kB / 0.6928 GB, free: 60 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.5578, allocations: 39.42 kB / 0.6928 GB, free: 20 kB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.5578, allocations: 4 kB / 0.6928 GB, free: 16 kB / 0.4948 GB Notification: Performance of Templates: time 0.01201/0.5698, allocations: 6.229 MB / 0.6989 GB, free: 9.879 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)