Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7027/0.7027, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 192.7 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 404.5 MB, free: 1.598 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008867/0.0008868, allocations: 87.62 kB / 481.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.715e-05, allocations: 7.922 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 76.75 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5577, allocations: 109.9 MB / 0.7355 GB, free: 3.586 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.558, allocations: 81 kB / 0.7355 GB, free: 3.543 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03221/0.5902, allocations: 13.16 MB / 0.7484 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5903, allocations: 0 / 0.7484 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.37e-05/0.5903, allocations: 16 kB / 0.7484 GB, free: 8.5 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001414/0.5917, allocations: 0.8828 MB / 0.7493 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5918, allocations: 12.03 kB / 0.7493 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.5919, allocations: 79.06 kB / 0.7494 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/0.5927, allocations: 0.5466 MB / 0.7499 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.5928, allocations: 49.38 kB / 0.7499 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.879e-05/0.5929, allocations: 59.75 kB / 0.75 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/0.5938, allocations: 0.6106 MB / 0.7506 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.5939, allocations: 4 kB / 0.7506 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.5939, allocations: 25.69 kB / 0.7506 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.594, allocations: 16 kB / 0.7506 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007142/0.5947, allocations: 437.6 kB / 0.751 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.5976, allocations: 2.121 MB / 0.7531 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.5983, allocations: 432.2 kB / 0.7535 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.5986, allocations: 219.7 kB / 0.7537 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.5987, allocations: 8.375 kB / 0.7537 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.5991, allocations: 257.3 kB / 0.754 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.254e-06/0.5991, allocations: 0 / 0.754 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.0007325/0.5999, allocations: 427.5 kB / 0.7544 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.6, allocations: 162.7 kB / 0.7546 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.6004, allocations: 396 kB / 0.7549 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.6005, allocations: 41.7 kB / 0.755 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.6007, allocations: 329 kB / 0.7553 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.6009, allocations: 169.6 kB / 0.7554 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.6009, allocations: 12 kB / 0.7555 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6011, allocations: 370.7 kB / 0.7558 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.6013, allocations: 153.1 kB / 0.756 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.6017, allocations: 263.5 kB / 0.7562 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.602, allocations: 209.6 kB / 0.7564 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.602, allocations: 4 kB / 0.7564 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007989/0.6028, allocations: 0.5273 MB / 0.7569 GB, free: 92 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000282/0.6031, allocations: 0.6436 MB / 0.7576 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.6032, allocations: 4 kB / 0.7576 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.6032, allocations: 4 kB / 0.7576 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.6037, allocations: 123.8 kB / 0.7577 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.6037, allocations: 11.89 kB / 0.7577 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.6041, allocations: 87.55 kB / 0.7578 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.6042, allocations: 16 kB / 0.7578 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.6042, allocations: 4 kB / 0.7578 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006927/0.6049, allocations: 463.1 kB / 0.7582 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.6049, allocations: 4.031 kB / 0.7582 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/0.6049, allocations: 4 kB / 0.7582 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.6054, allocations: 103.9 kB / 0.7583 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.6054, allocations: 15.91 kB / 0.7584 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.6057, allocations: 67.66 kB / 0.7584 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.6058, allocations: 16 kB / 0.7584 GB, free: 14.48 MB / 0.5105 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.0001316/0.6059, allocations: 139.9 kB / 0.7586 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.606, allocations: 63.2 kB / 0.7586 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.6062, allocations: 69.38 kB / 0.7587 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6062, allocations: 4 kB / 0.7587 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6062, allocations: 0 / 0.7587 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.6062, allocations: 3.984 kB / 0.7587 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.6078, allocations: 1.224 MB / 0.7599 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.6078, allocations: 0 / 0.7599 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.6083, allocations: 103.9 kB / 0.76 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6084, allocations: 7.938 kB / 0.76 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.6084, allocations: 15.98 kB / 0.76 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6084, allocations: 4 kB / 0.76 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6084, allocations: 3.938 kB / 0.76 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.6095, allocations: 0.7448 MB / 0.7608 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.6097, allocations: 196.2 kB / 0.7609 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.6098, allocations: 15.98 kB / 0.761 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.6102, allocations: 43.97 kB / 0.761 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.6103, allocations: 40.38 kB / 0.761 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.6103, allocations: 16 kB / 0.7611 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003425/0.6107, allocations: 313.6 kB / 0.7614 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6107, allocations: 0 / 0.7614 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000629/0.6113, allocations: 259.1 kB / 0.7616 GB, free: 11.15 MB / 0.5105 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.0001795/0.6115, allocations: 131.6 kB / 0.7617 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.6126, allocations: 0.7488 MB / 0.7625 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6126, allocations: 0 / 0.7625 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.6129, allocations: 210.4 kB / 0.7627 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.6136, allocations: 163.5 kB / 0.7628 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.6162, allocations: 1.288 MB / 0.7641 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.6167, allocations: 0.9073 MB / 0.765 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004743/0.6172, allocations: 104.4 kB / 0.7651 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.6173, allocations: 31.44 kB / 0.7651 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.6173, allocations: 4 kB / 0.7651 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of Templates: time 0.01344/0.6307, allocations: 7.798 MB / 0.7727 GB, free: 15.76 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)