Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.491/2.491, allocations: 253.1 MB / 260.6 MB, free: 7.539 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 181.4 kB / 319.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.6 MB / 0.5708 GB, free: 15.23 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 88.95 kB / 0.6751 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.523e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2328, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9287/1.161, allocations: 139.8 MB / 1.025 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/1.162, allocations: 76.64 kB / 1.025 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08845/1.25, allocations: 16.83 MB / 1.042 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.457e-06/1.25, allocations: 0 / 1.042 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001378/1.251, allocations: 23.56 kB / 1.042 GB, free: 15.53 MB / 0.6667 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.00406/1.255, allocations: 0.9449 MB / 1.043 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/1.255, allocations: 12.77 kB / 1.043 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006205/1.255, allocations: 94.88 kB / 1.043 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/1.258, allocations: 0.5862 MB / 1.043 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/1.258, allocations: 76.72 kB / 1.043 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/1.258, allocations: 32 kB / 1.043 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001715/1.26, allocations: 343.1 kB / 1.044 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/1.262, allocations: 0.5081 MB / 1.044 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/1.262, allocations: 7.891 kB / 1.044 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/1.263, allocations: 3.938 kB / 1.044 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/1.263, allocations: 12 kB / 1.044 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007842/1.27, allocations: 2.107 MB / 1.046 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/1.272, allocations: 431.4 kB / 1.047 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/1.273, allocations: 163.1 kB / 1.047 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.52e-05/1.273, allocations: 6.156 kB / 1.047 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006538/1.273, allocations: 233.3 kB / 1.047 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=45): time 3.467e-06/1.273, allocations: 0 / 1.047 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.001172/1.275, allocations: 390.7 kB / 1.048 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.275, allocations: 194.7 kB / 1.048 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009827/1.276, allocations: 476.1 kB / 1.048 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002311/1.276, allocations: 29.69 kB / 1.048 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/1.277, allocations: 367.7 kB / 1.049 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/1.277, allocations: 154.6 kB / 1.049 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/1.277, allocations: 0 / 1.049 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002371/1.277, allocations: 384.6 kB / 1.049 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/1.278, allocations: 136.3 kB / 1.049 GB, free: 9.082 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/1.278, allocations: 264.7 kB / 1.049 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/1.279, allocations: 170.6 kB / 1.05 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.279, allocations: 0 / 1.05 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001469/1.28, allocations: 479.8 kB / 1.05 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005655/1.281, allocations: 0.9966 MB / 1.051 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.281, allocations: 0 / 1.051 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/1.281, allocations: 8 kB / 1.051 GB, free: 7.324 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.282, allocations: 119.2 kB / 1.051 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/1.282, allocations: 4 kB / 1.051 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009902/1.283, allocations: 67.64 kB / 1.051 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/1.283, allocations: 19.5 kB / 1.051 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.283, allocations: 0.7812 kB / 1.051 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/1.284, allocations: 391.4 kB / 1.052 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.284, allocations: 0 / 1.052 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.284, allocations: 4 kB / 1.052 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009799/1.285, allocations: 115 kB / 1.052 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/1.285, allocations: 15.92 kB / 1.052 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009681/1.286, allocations: 63.77 kB / 1.052 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/1.287, allocations: 21.81 kB / 1.052 GB, free: 6.652 MB / 0.6667 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 () * 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.0002669/1.287, allocations: 118.7 kB / 1.052 GB, free: 6.531 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/1.287, allocations: 71.16 kB / 1.052 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/1.287, allocations: 72.36 kB / 1.052 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/1.287, allocations: 11.94 kB / 1.052 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.287, allocations: 7.891 kB / 1.052 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.287, allocations: 7.984 kB / 1.052 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/1.289, allocations: 0.5759 MB / 1.053 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.289, allocations: 0 / 1.053 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.29, allocations: 95.62 kB / 1.053 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/1.29, allocations: 8 kB / 1.053 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/1.29, allocations: 0 / 1.053 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/1.29, allocations: 4 kB / 1.053 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.29, allocations: 0 / 1.053 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/1.292, allocations: 0.6213 MB / 1.053 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006755/1.293, allocations: 201.1 kB / 1.054 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/1.293, allocations: 4 kB / 1.054 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.294, allocations: 51.95 kB / 1.054 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.294, allocations: 43.56 kB / 1.054 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-05/1.295, allocations: 19.23 kB / 1.054 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001/1.296, allocations: 361.7 kB / 1.054 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.41e-07/1.296, allocations: 4 kB / 1.054 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001684/1.297, allocations: 215.1 kB / 1.054 GB, free: 4.625 MB / 0.6667 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) * 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.0003249/1.298, allocations: 115.1 kB / 1.054 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002373/1.3, allocations: 0.6986 MB / 1.055 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.3, allocations: 4.375 kB / 1.055 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006516/1.301, allocations: 180.7 kB / 1.055 GB, free: 3.867 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.303, allocations: 167.7 kB / 1.055 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/1.307, allocations: 0.8656 MB / 1.056 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.308, allocations: 0.9422 MB / 1.057 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001664/1.31, allocations: 127.4 kB / 1.057 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/1.31, allocations: 39.44 kB / 1.057 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of SimCode: time 1.813e-06/1.31, allocations: 0 / 1.057 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of Templates: time 0.03435/1.345, allocations: 8.172 MB / 1.065 GB, free: 9.738 MB / 0.6823 GB