Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.781/4.781, allocations: 0.5623 GB / 0.5775 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002495/0.002494, allocations: 362.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.2/4.2, allocations: 410.7 MB / 1.113 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001801/0.001801, allocations: 187.9 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006609/0.0006614, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7453/0.746, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2154/0.9615, allocations: 146 MB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.9619, allocations: 84.77 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0691/1.031, allocations: 16.95 MB / 1.621 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.984e-06/1.031, allocations: 1.406 kB / 1.621 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.077e-05/1.031, allocations: 16 kB / 1.621 GB, free: 121.4 MB / 0.8542 GB 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.00272/1.034, allocations: 1.068 MB / 1.622 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.034, allocations: 11.62 kB / 1.622 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/1.034, allocations: 104.8 kB / 1.622 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/1.035, allocations: 0.5901 MB / 1.622 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/1.036, allocations: 97.59 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/1.036, allocations: 55.91 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/1.037, allocations: 0.663 MB / 1.623 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/1.038, allocations: 1.344 kB / 1.623 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/1.038, allocations: 20 kB / 1.623 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/1.038, allocations: 15.95 kB / 1.623 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/1.039, allocations: 0.4911 MB / 1.624 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004005/1.043, allocations: 2.209 MB / 1.626 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/1.046, allocations: 0.5962 MB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008039/1.046, allocations: 227.2 kB / 1.627 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.298e-05/1.046, allocations: 4 kB / 1.627 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/1.048, allocations: 330 kB / 1.627 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=45): time 2.895e-06/1.048, allocations: 0 / 1.627 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45): time 0.002597/1.05, allocations: 0.71 MB / 1.628 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/1.05, allocations: 196.8 kB / 1.628 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/1.051, allocations: 0.6189 MB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.804e-05/1.051, allocations: 37.7 kB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/1.052, allocations: 361.6 kB / 1.629 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/1.052, allocations: 157.7 kB / 1.629 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/1.052, allocations: 13.06 kB / 1.629 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.367e-05/1.052, allocations: 329.9 kB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000792/1.053, allocations: 216.7 kB / 1.629 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008849/1.054, allocations: 347 kB / 1.63 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008509/1.054, allocations: 270 kB / 1.63 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.055, allocations: 0 / 1.63 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002036/1.057, allocations: 0.6658 MB / 1.631 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.787e-05/1.057, allocations: 185.4 kB / 1.631 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.057, allocations: 4.812 kB / 1.631 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/1.057, allocations: 4 kB / 1.631 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/1.058, allocations: 122.3 kB / 1.631 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/1.058, allocations: 7.953 kB / 1.631 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/1.059, allocations: 86.11 kB / 1.631 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/1.059, allocations: 23.98 kB / 1.631 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/1.059, allocations: 4.625 kB / 1.631 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001689/1.06, allocations: 0.5504 MB / 1.632 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.06, allocations: 0 / 1.632 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/1.06, allocations: 11.98 kB / 1.632 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/1.061, allocations: 109.8 kB / 1.632 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.061, allocations: 11.98 kB / 1.632 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008303/1.062, allocations: 73.94 kB / 1.632 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/1.062, allocations: 20 kB / 1.632 GB, free: 109.6 MB / 0.8542 GB 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.000478/1.063, allocations: 278.8 kB / 1.632 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/1.063, allocations: 75.14 kB / 1.632 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/1.063, allocations: 75.84 kB / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.063, allocations: 8 kB / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.063, allocations: 1.312 kB / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/1.063, allocations: 3.984 kB / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008735/1.064, allocations: 0.6453 MB / 1.633 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.064, allocations: 9.172 kB / 1.633 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009126/1.065, allocations: 97.25 kB / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/1.065, allocations: 0 / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/1.065, allocations: 8.562 kB / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/1.065, allocations: 4 kB / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.065, allocations: 5.156 kB / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/1.068, allocations: 0.8307 MB / 1.634 GB, free: 107.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/1.068, allocations: 212 kB / 1.634 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/1.068, allocations: 8 kB / 1.634 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009325/1.069, allocations: 68.31 kB / 1.634 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/1.069, allocations: 27.95 kB / 1.634 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.984e-05/1.069, allocations: 20.17 kB / 1.634 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007094/1.07, allocations: 431 kB / 1.635 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/1.07, allocations: 0 / 1.635 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009306/1.071, allocations: 239.3 kB / 1.635 GB, free: 106.5 MB / 0.8542 GB 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.0001975/1.071, allocations: 129.2 kB / 1.635 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002643/1.074, allocations: 0.8876 MB / 1.636 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.074, allocations: 0 / 1.636 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008272/1.075, allocations: 247.6 kB / 1.636 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/1.076, allocations: 190.4 kB / 1.636 GB, free: 105 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/1.079, allocations: 1.403 MB / 1.638 GB, free: 103.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/1.08, allocations: 0.9413 MB / 1.638 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007116/1.081, allocations: 96.97 kB / 1.639 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/1.081, allocations: 47.44 kB / 1.639 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/1.081, allocations: 0 / 1.639 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.02069/1.101, allocations: 7.739 MB / 1.646 GB, free: 94.87 MB / 0.8542 GB