Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001162, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5077/0.5077, allocations: 91.99 MB / 108.5 MB, free: 13.07 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.703/1.703, allocations: 223.2 MB / 354.3 MB, free: 12.23 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.001132/0.001133, allocations: 107.6 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003796, allocations: 8 kB / 0.4982 GB, free: 42.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1941, allocations: 72.31 MB / 0.5688 GB, free: 1.957 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6091/0.8032, allocations: 109.9 MB / 0.6761 GB, free: 10.62 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.8036, allocations: 79.95 kB / 0.6762 GB, free: 10.55 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05667/0.8603, allocations: 19.86 MB / 0.6956 GB, free: 6.668 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.8603, allocations: 0 / 0.6956 GB, free: 6.668 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.265e-05/0.8604, allocations: 28.12 kB / 0.6956 GB, free: 6.641 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002415/0.8629, allocations: 1.249 MB / 0.6969 GB, free: 5.336 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.8629, allocations: 8.031 kB / 0.6969 GB, free: 5.328 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.8632, allocations: 118.6 kB / 0.697 GB, free: 5.211 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.8645, allocations: 0.7346 MB / 0.6977 GB, free: 4.434 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.8647, allocations: 83.66 kB / 0.6978 GB, free: 4.348 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.8648, allocations: 75.84 kB / 0.6979 GB, free: 4.273 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.8662, allocations: 0.7782 MB / 0.6986 GB, free: 3.445 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.8663, allocations: 4 kB / 0.6986 GB, free: 3.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.8663, allocations: 28 kB / 0.6986 GB, free: 3.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.8664, allocations: 16 kB / 0.6987 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.8675, allocations: 0.5634 MB / 0.6992 GB, free: 2.836 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.8711, allocations: 2.349 MB / 0.7015 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.8727, allocations: 0.7142 MB / 0.7022 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/0.8727, allocations: 12.55 kB / 0.7022 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007639/0.8735, allocations: 343 kB / 0.7025 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=60): time 3.005e-06/0.8735, allocations: 0 / 0.7025 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=60): time 0.001723/0.8752, allocations: 0.8262 MB / 0.7033 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.8753, allocations: 137.1 kB / 0.7035 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008011/0.8762, allocations: 0.6611 MB / 0.7041 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.8762, allocations: 33.7 kB / 0.7042 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.8766, allocations: 440.5 kB / 0.7046 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.8768, allocations: 208.9 kB / 0.7048 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.8768, allocations: 8 kB / 0.7048 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.877, allocations: 334.1 kB / 0.7051 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.8774, allocations: 225.2 kB / 0.7053 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.878, allocations: 346.1 kB / 0.7056 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/0.8785, allocations: 254.1 kB / 0.7059 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8786, allocations: 3.938 kB / 0.7059 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001333/0.8799, allocations: 0.7007 MB / 0.7066 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003708/0.8803, allocations: 0.8783 MB / 0.7074 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.8803, allocations: 4 kB / 0.7074 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.8803, allocations: 11.98 kB / 0.7074 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008881/0.8812, allocations: 163.8 kB / 0.7076 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.8812, allocations: 8 kB / 0.7076 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/0.8818, allocations: 79.41 kB / 0.7077 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.8819, allocations: 23.98 kB / 0.7077 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.8819, allocations: 4 kB / 0.7077 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001051/0.8829, allocations: 0.5596 MB / 0.7083 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.883, allocations: 0 / 0.7083 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.883, allocations: 8 kB / 0.7083 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/0.8837, allocations: 156 kB / 0.7084 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.8838, allocations: 4 kB / 0.7084 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.8843, allocations: 71.5 kB / 0.7085 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.8843, allocations: 20 kB / 0.7085 GB, free: 9.047 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0006072/0.885, allocations: 311.1 kB / 0.7088 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.8851, allocations: 94.78 kB / 0.7089 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.8853, allocations: 105.1 kB / 0.709 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.8853, allocations: 8 kB / 0.709 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.8853, allocations: 0 / 0.709 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.8854, allocations: 3.984 kB / 0.709 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.8878, allocations: 1.521 MB / 0.7105 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.8879, allocations: 4 kB / 0.7105 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.8885, allocations: 111.8 kB / 0.7106 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.8885, allocations: 0 / 0.7106 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.8886, allocations: 12 kB / 0.7106 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.8886, allocations: 4 kB / 0.7106 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8886, allocations: 7.953 kB / 0.7106 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.8906, allocations: 1.041 MB / 0.7116 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.8909, allocations: 231.8 kB / 0.7119 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.891, allocations: 15.94 kB / 0.7119 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.8916, allocations: 47.95 kB / 0.7119 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.8917, allocations: 44.5 kB / 0.712 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.8917, allocations: 19.95 kB / 0.712 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007836/0.8925, allocations: 0.5185 MB / 0.7125 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8925, allocations: 0 / 0.7125 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009431/0.8935, allocations: 279.5 kB / 0.7128 GB, free: 4.594 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001965/0.8937, allocations: 123.1 kB / 0.7129 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.8955, allocations: 0.8661 MB / 0.7137 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.8955, allocations: 4 kB / 0.7137 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.8961, allocations: 295.8 kB / 0.714 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.8972, allocations: 229.2 kB / 0.7142 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.9004, allocations: 1.835 MB / 0.716 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.9011, allocations: 1.01 MB / 0.717 GB, free: 188 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007175/0.9018, allocations: 122.3 kB / 0.7171 GB, free: 64 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.902, allocations: 59.42 kB / 0.7172 GB, free: 4 kB / 0.4948 GB Notification: Performance of SimCode: time 1.463e-06/0.902, allocations: 0 / 0.7172 GB, free: 4 kB / 0.4948 GB Notification: Performance of Templates: time 0.01827/0.9203, allocations: 9.098 MB / 0.7261 GB, free: 7.012 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)