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.002688/0.002692, allocations: 357.5 kB / 16.58 MB, free: 5.57 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.456/1.456, allocations: 165.8 MB / 183.1 MB, free: 5.488 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 3.688/3.688, allocations: 410.7 MB / 0.6001 GB, free: 15.19 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.001786/0.001785, allocations: 190.4 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004839, allocations: 20 kB / 0.7429 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4057, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.6071, allocations: 106.8 MB / 0.913 GB, free: 1.824 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.6075, allocations: 83.95 kB / 0.9131 GB, free: 1.742 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4468/1.054, allocations: 19.89 MB / 0.9325 GB, free: 108.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.737e-06/1.054, allocations: 2.734 kB / 0.9325 GB, free: 108.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001224/1.054, allocations: 22.56 kB / 0.9326 GB, free: 108.8 MB / 474.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.004012/1.059, allocations: 1.249 MB / 0.9338 GB, free: 108.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.059, allocations: 8.781 kB / 0.9338 GB, free: 108.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/1.059, allocations: 123.2 kB / 0.9339 GB, free: 108.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/1.061, allocations: 0.7357 MB / 0.9346 GB, free: 107.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/1.062, allocations: 84.52 kB / 0.9347 GB, free: 107.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/1.062, allocations: 74.75 kB / 0.9348 GB, free: 107.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/1.065, allocations: 0.7789 MB / 0.9355 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/1.065, allocations: 0 / 0.9355 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/1.065, allocations: 33.55 kB / 0.9356 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/1.065, allocations: 16.06 kB / 0.9356 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/1.067, allocations: 0.5701 MB / 0.9362 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00581/1.073, allocations: 2.357 MB / 0.9385 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/1.076, allocations: 0.6844 MB / 0.9391 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009413/1.077, allocations: 265.4 kB / 0.9394 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.751e-05/1.077, allocations: 8.734 kB / 0.9394 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/1.078, allocations: 349.1 kB / 0.9397 GB, free: 106.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 3.587e-06/1.078, allocations: 0 / 0.9397 GB, free: 106.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.003493/1.082, allocations: 0.8271 MB / 0.9405 GB, free: 106.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/1.082, allocations: 137.9 kB / 0.9407 GB, free: 106.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/1.083, allocations: 0.7573 MB / 0.9414 GB, free: 106 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/1.084, allocations: 41.55 kB / 0.9414 GB, free: 106 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/1.084, allocations: 442.3 kB / 0.9419 GB, free: 105.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/1.084, allocations: 202.9 kB / 0.942 GB, free: 105.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/1.084, allocations: 11.25 kB / 0.9421 GB, free: 105.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/1.084, allocations: 333.2 kB / 0.9424 GB, free: 105.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008531/1.085, allocations: 226.2 kB / 0.9426 GB, free: 105.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009146/1.086, allocations: 345.5 kB / 0.9429 GB, free: 104.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/1.087, allocations: 249.2 kB / 0.9432 GB, free: 104.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.087, allocations: 3.969 kB / 0.9432 GB, free: 104.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002231/1.089, allocations: 0.7048 MB / 0.9439 GB, free: 104.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.999e-05/1.089, allocations: 153.7 kB / 0.944 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.089, allocations: 3.906 kB / 0.944 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.09, allocations: 6.812 kB / 0.944 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/1.091, allocations: 169.8 kB / 0.9442 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.091, allocations: 4.656 kB / 0.9442 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.092, allocations: 93.36 kB / 0.9443 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/1.092, allocations: 23.41 kB / 0.9443 GB, free: 104.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.794e-06/1.092, allocations: 3.906 kB / 0.9443 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001685/1.094, allocations: 0.5524 MB / 0.9448 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.094, allocations: 5.688 kB / 0.9448 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/1.094, allocations: 3.875 kB / 0.9448 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/1.095, allocations: 157.2 kB / 0.945 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.096, allocations: 11.84 kB / 0.945 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009051/1.096, allocations: 77 kB / 0.9451 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/1.097, allocations: 19.56 kB / 0.9451 GB, free: 103.9 MB / 474.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,$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.0005734/1.097, allocations: 298.3 kB / 0.9454 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/1.097, allocations: 97.64 kB / 0.9455 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/1.098, allocations: 103.3 kB / 0.9456 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.098, allocations: 7.781 kB / 0.9456 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.098, allocations: 0 / 0.9456 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.098, allocations: 2.953 kB / 0.9456 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/1.101, allocations: 1.528 MB / 0.9471 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.101, allocations: 4 kB / 0.9471 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.102, allocations: 113 kB / 0.9472 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.102, allocations: 3.438 kB / 0.9472 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/1.102, allocations: 15.84 kB / 0.9472 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/1.102, allocations: 3.969 kB / 0.9472 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.102, allocations: 3 kB / 0.9472 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/1.105, allocations: 1.033 MB / 0.9482 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/1.106, allocations: 236.1 kB / 0.9484 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/1.106, allocations: 15.97 kB / 0.9485 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009899/1.107, allocations: 52.69 kB / 0.9485 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/1.107, allocations: 35.89 kB / 0.9485 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/1.107, allocations: 22.48 kB / 0.9486 GB, free: 102 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009155/1.108, allocations: 0.5233 MB / 0.9491 GB, free: 101.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.108, allocations: 0 / 0.9491 GB, free: 101.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0012/1.109, allocations: 286.7 kB / 0.9493 GB, free: 101.7 MB / 474.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 (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.0002076/1.11, allocations: 114.2 kB / 0.9495 GB, free: 101.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002837/1.113, allocations: 0.8694 MB / 0.9503 GB, free: 101.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.113, allocations: 0 / 0.9503 GB, free: 101.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009229/1.114, allocations: 294.3 kB / 0.9506 GB, free: 101.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/1.116, allocations: 239.1 kB / 0.9508 GB, free: 101.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/1.12, allocations: 1.833 MB / 0.9526 GB, free: 100.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/1.12, allocations: 1.022 MB / 0.9536 GB, free: 99.33 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009868/1.121, allocations: 115.3 kB / 0.9537 GB, free: 99.31 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/1.122, allocations: 63.55 kB / 0.9538 GB, free: 99.3 MB / 474.7 MB Notification: Performance of SimCode: time 9.52e-07/1.122, allocations: 0 / 0.9538 GB, free: 99.3 MB / 474.7 MB Notification: Performance of Templates: time 0.02518/1.147, allocations: 9.13 MB / 0.9627 GB, free: 93.01 MB / 474.7 MB