Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00242/0.002419, allocations: 357.8 kB / 15.94 MB, free: 6.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.45/1.45, allocations: 165.8 MB / 182.5 MB, free: 5.414 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.295/4.295, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001763/0.001763, allocations: 192.3 kB / 0.6662 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004489, allocations: 12 kB / 0.7423 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3314, allocations: 67.44 MB / 0.8081 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004186/0.3356, allocations: 3.662 MB / 0.8117 GB, free: 25.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003281/0.339, allocations: 1.485 MB / 0.8132 GB, free: 23.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008392/0.3398, allocations: 31.81 kB / 0.8132 GB, free: 23.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.34, allocations: 59.25 kB / 0.8133 GB, free: 23.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.3411, allocations: 214.4 kB / 0.8135 GB, free: 23.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.3427, allocations: 0.5261 MB / 0.814 GB, free: 22.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.3442, allocations: 1.078 MB / 0.815 GB, free: 21.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005681/0.3448, allocations: 347.4 kB / 0.8154 GB, free: 21.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004743/0.3453, allocations: 326.1 kB / 0.8157 GB, free: 21.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.3456, allocations: 341.8 kB / 0.816 GB, free: 20.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.66e-05/0.3457, allocations: 24 kB / 0.816 GB, free: 20.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3458, allocations: 28 kB / 0.816 GB, free: 20.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.346, allocations: 135.2 kB / 0.8162 GB, free: 20.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.3461, allocations: 173.1 kB / 0.8163 GB, free: 20.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008108/0.347, allocations: 0.8125 MB / 0.8171 GB, free: 19.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.3e-06/0.347, allocations: 3.938 kB / 0.8171 GB, free: 19.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.347, allocations: 0 / 0.8171 GB, free: 19.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.347, allocations: 0 / 0.8171 GB, free: 19.52 MB / 378.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.002241/0.3493, allocations: 1.255 MB / 0.8184 GB, free: 18.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3494, allocations: 8.031 kB / 0.8184 GB, free: 18.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.3496, allocations: 122.5 kB / 0.8185 GB, free: 18.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.3509, allocations: 0.6996 MB / 0.8192 GB, free: 17.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.3511, allocations: 87.69 kB / 0.8192 GB, free: 17.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.3512, allocations: 72 kB / 0.8193 GB, free: 17.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.3527, allocations: 0.7289 MB / 0.82 GB, free: 16.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.3527, allocations: 0 / 0.82 GB, free: 16.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.3528, allocations: 35.98 kB / 0.8201 GB, free: 16.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.3528, allocations: 16 kB / 0.8201 GB, free: 16.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.3542, allocations: 0.5204 MB / 0.8206 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003929/0.3582, allocations: 2.294 MB / 0.8228 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.36, allocations: 0.6301 MB / 0.8234 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006559/0.3607, allocations: 289.9 kB / 0.8237 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-05/0.3608, allocations: 8.719 kB / 0.8237 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008248/0.3616, allocations: 342.9 kB / 0.8241 GB, free: 12.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 4.587e-06/0.3616, allocations: 0 / 0.8241 GB, free: 12.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.002045/0.3637, allocations: 0.7637 MB / 0.8248 GB, free: 11.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.3638, allocations: 89.66 kB / 0.8249 GB, free: 11.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.3648, allocations: 0.748 MB / 0.8256 GB, free: 10.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/0.3649, allocations: 45.69 kB / 0.8257 GB, free: 10.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.3652, allocations: 436.5 kB / 0.8261 GB, free: 10.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.3654, allocations: 208.9 kB / 0.8263 GB, free: 9.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.3655, allocations: 12 kB / 0.8263 GB, free: 9.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.3656, allocations: 330 kB / 0.8266 GB, free: 9.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.3662, allocations: 209.2 kB / 0.8268 GB, free: 9.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006974/0.3669, allocations: 300.5 kB / 0.8271 GB, free: 8.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.3676, allocations: 242.1 kB / 0.8273 GB, free: 8.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.409e-06/0.3676, allocations: 0 / 0.8273 GB, free: 8.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001602/0.3692, allocations: 0.6578 MB / 0.828 GB, free: 8.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.569e-05/0.3693, allocations: 163.1 kB / 0.8281 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3694, allocations: 4 kB / 0.8281 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.3694, allocations: 8 kB / 0.8281 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/0.3702, allocations: 143.8 kB / 0.8283 GB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3702, allocations: 4 kB / 0.8283 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.3708, allocations: 75.34 kB / 0.8283 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.3709, allocations: 28 kB / 0.8284 GB, free: 7.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3709, allocations: 4 kB / 0.8284 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001274/0.3722, allocations: 0.5246 MB / 0.8289 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3722, allocations: 8.062 kB / 0.8289 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.931e-06/0.3722, allocations: 4 kB / 0.8289 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.373, allocations: 139.8 kB / 0.829 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.373, allocations: 7.953 kB / 0.829 GB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.3736, allocations: 67.41 kB / 0.8291 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.3737, allocations: 24 kB / 0.8291 GB, free: 6.863 MB / 378.7 MB 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,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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.0004345/0.3741, allocations: 293 kB / 0.8294 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.3743, allocations: 90.88 kB / 0.8295 GB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.3745, allocations: 101.3 kB / 0.8296 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.561e-06/0.3745, allocations: 8 kB / 0.8296 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.149e-06/0.3745, allocations: 7.938 kB / 0.8296 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.079e-06/0.3746, allocations: 0 / 0.8296 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.3772, allocations: 1.462 MB / 0.831 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.073e-06/0.3772, allocations: 0 / 0.831 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/0.3779, allocations: 103.9 kB / 0.8311 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.881e-06/0.378, allocations: 3.938 kB / 0.8311 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.378, allocations: 15.95 kB / 0.8311 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.755e-06/0.378, allocations: 4 kB / 0.8311 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.974e-06/0.378, allocations: 3.938 kB / 0.8312 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.3802, allocations: 0.9786 MB / 0.8321 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.3806, allocations: 219.7 kB / 0.8323 GB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.3807, allocations: 16 kB / 0.8323 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.3813, allocations: 51.91 kB / 0.8324 GB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3814, allocations: 32.52 kB / 0.8324 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.3815, allocations: 19.98 kB / 0.8324 GB, free: 3.363 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007672/0.3823, allocations: 0.5109 MB / 0.8329 GB, free: 2.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.3823, allocations: 0 / 0.8329 GB, free: 2.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009473/0.3832, allocations: 275.1 kB / 0.8332 GB, free: 2.57 MB / 378.7 MB 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 (trigger.y,$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.0001395/0.3834, allocations: 119.1 kB / 0.8333 GB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.3854, allocations: 0.7997 MB / 0.8341 GB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.146e-06/0.3854, allocations: 0 / 0.8341 GB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006454/0.3861, allocations: 275.7 kB / 0.8344 GB, free: 1.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.3876, allocations: 238.1 kB / 0.8346 GB, free: 1.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.391, allocations: 1.831 MB / 0.8364 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008293/0.3918, allocations: 1.013 MB / 0.8374 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008939/0.3928, allocations: 114.7 kB / 0.8375 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.3931, allocations: 63.42 kB / 0.8375 GB, free: 14.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.914e-06/0.3931, allocations: 4 kB / 0.8375 GB, free: 14.06 MB / 394.7 MB Notification: Performance of Templates: time 0.03117/0.4243, allocations: 8.406 MB / 0.8457 GB, free: 5.754 MB / 394.7 MB