Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002549/0.002549, allocations: 354.9 kB / 16.58 MB, free: 5.566 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.541/1.541, allocations: 165.8 MB / 183.1 MB, free: 5.449 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.792/3.792, allocations: 410.8 MB / 0.6001 GB, free: 15.27 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.001776/0.001776, allocations: 194.3 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004678, allocations: 8 kB / 0.7429 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4201, allocations: 67.42 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.6003, allocations: 106.4 MB / 0.9127 GB, free: 2.199 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.6006, allocations: 87.95 kB / 0.9127 GB, free: 2.113 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0767/0.6774, allocations: 16.96 MB / 0.9293 GB, free: 1.117 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6774, allocations: 4 kB / 0.9293 GB, free: 1.113 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.754e-05/0.6775, allocations: 23.94 kB / 0.9293 GB, free: 1.09 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.3864/1.064, allocations: 1.058 MB / 0.9304 GB, free: 110.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/1.064, allocations: 8.438 kB / 0.9304 GB, free: 110.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/1.065, allocations: 98.31 kB / 0.9305 GB, free: 110.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/1.066, allocations: 0.5857 MB / 0.931 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/1.066, allocations: 104.2 kB / 0.9311 GB, free: 109.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/1.067, allocations: 56.2 kB / 0.9312 GB, free: 109.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/1.069, allocations: 0.6559 MB / 0.9318 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/1.069, allocations: 4.562 kB / 0.9318 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/1.069, allocations: 19.31 kB / 0.9319 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/1.069, allocations: 12.66 kB / 0.9319 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/1.071, allocations: 0.4919 MB / 0.9323 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004963/1.076, allocations: 2.213 MB / 0.9345 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/1.078, allocations: 0.5887 MB / 0.9351 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008945/1.079, allocations: 227.8 kB / 0.9353 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-05/1.079, allocations: 8.141 kB / 0.9353 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/1.08, allocations: 328.8 kB / 0.9356 GB, free: 108.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=45): time 3.436e-06/1.08, allocations: 0 / 0.9356 GB, free: 108.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=45): time 0.003077/1.084, allocations: 0.7143 MB / 0.9363 GB, free: 108.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/1.084, allocations: 189.9 kB / 0.9365 GB, free: 108.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.085, allocations: 0.6206 MB / 0.9371 GB, free: 108.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.085, allocations: 35.27 kB / 0.9371 GB, free: 108.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/1.085, allocations: 366.3 kB / 0.9375 GB, free: 108 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/1.086, allocations: 155.1 kB / 0.9376 GB, free: 107.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/1.086, allocations: 12.59 kB / 0.9377 GB, free: 107.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/1.086, allocations: 324.6 kB / 0.938 GB, free: 107.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008798/1.087, allocations: 213 kB / 0.9382 GB, free: 107.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/1.088, allocations: 345.4 kB / 0.9385 GB, free: 107.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/1.089, allocations: 261.8 kB / 0.9387 GB, free: 107.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.089, allocations: 1.25 kB / 0.9387 GB, free: 107.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002275/1.091, allocations: 0.6625 MB / 0.9394 GB, free: 107.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/1.091, allocations: 202.7 kB / 0.9396 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.091, allocations: 2.562 kB / 0.9396 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/1.091, allocations: 9.547 kB / 0.9396 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009731/1.092, allocations: 121.8 kB / 0.9397 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/1.092, allocations: 4.75 kB / 0.9397 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009574/1.093, allocations: 85.3 kB / 0.9398 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/1.093, allocations: 18.38 kB / 0.9398 GB, free: 106.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/1.093, allocations: 3.688 kB / 0.9398 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002018/1.095, allocations: 0.5543 MB / 0.9404 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.095, allocations: 2.219 kB / 0.9404 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/1.095, allocations: 9.109 kB / 0.9404 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/1.096, allocations: 114.1 kB / 0.9405 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.096, allocations: 8.5 kB / 0.9405 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009231/1.097, allocations: 81.34 kB / 0.9406 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.94e-05/1.097, allocations: 18.97 kB / 0.9406 GB, free: 106.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0005655/1.098, allocations: 272.8 kB / 0.9408 GB, free: 106.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.098, allocations: 74.78 kB / 0.9409 GB, free: 106.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/1.098, allocations: 81.75 kB / 0.941 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.098, allocations: 4.219 kB / 0.941 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.098, allocations: 0.5312 kB / 0.941 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.098, allocations: 8.156 kB / 0.941 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/1.1, allocations: 0.6509 MB / 0.9416 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.1, allocations: 0 / 0.9416 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009429/1.101, allocations: 103.3 kB / 0.9417 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/1.101, allocations: 1.438 kB / 0.9417 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/1.101, allocations: 10.84 kB / 0.9418 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/1.101, allocations: 6.547 kB / 0.9418 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/1.101, allocations: 0 / 0.9418 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/1.103, allocations: 0.8392 MB / 0.9426 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/1.104, allocations: 202.6 kB / 0.9428 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.104, allocations: 11.41 kB / 0.9428 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/1.105, allocations: 62.06 kB / 0.9428 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/1.105, allocations: 31.11 kB / 0.9429 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/1.105, allocations: 20.88 kB / 0.9429 GB, free: 105.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007154/1.106, allocations: 434.4 kB / 0.9433 GB, free: 105.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.106, allocations: 0 / 0.9433 GB, free: 105.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009594/1.107, allocations: 231 kB / 0.9435 GB, free: 105.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001924/1.107, allocations: 122.1 kB / 0.9436 GB, free: 105 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002642/1.11, allocations: 0.884 MB / 0.9445 GB, free: 104.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.11, allocations: 128 / 0.9445 GB, free: 104.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008193/1.11, allocations: 255.5 kB / 0.9447 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/1.112, allocations: 189.9 kB / 0.9449 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/1.115, allocations: 1.409 MB / 0.9463 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/1.115, allocations: 0.9344 MB / 0.9472 GB, free: 102.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007431/1.116, allocations: 99.09 kB / 0.9473 GB, free: 102.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/1.116, allocations: 46.31 kB / 0.9474 GB, free: 102.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/1.116, allocations: 0 / 0.9474 GB, free: 102.9 MB / 474.7 MB Notification: Performance of Templates: time 0.02069/1.137, allocations: 7.752 MB / 0.9549 GB, free: 100.7 MB / 474.7 MB