Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.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.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.291/2.291, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 177.5 kB / 325.6 MB, free: 2.832 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.451/2.451, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001089/0.001089, allocations: 88.62 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006406/0.0006407, allocations: 16.84 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2137, allocations: 106.2 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.4382, allocations: 132.9 MB / 1.029 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.4385, allocations: 71.97 kB / 1.029 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009309/0.4478, allocations: 1.917 MB / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4479, allocations: 3.938 kB / 1.031 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.4479, allocations: 0 / 1.031 GB, free: 10.85 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009168/0.4488, allocations: 490.2 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4489, allocations: 8.031 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.449, allocations: 11.86 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.4493, allocations: 198.9 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4493, allocations: 0 / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.4493, allocations: 12 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.4499, allocations: 137.5 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4499, allocations: 0 / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.4499, allocations: 7.938 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.45, allocations: 0 / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.4506, allocations: 131.9 kB / 1.032 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009023/0.4515, allocations: 368.6 kB / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.4522, allocations: 142.4 kB / 1.032 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.4522, allocations: 3.938 kB / 1.032 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005079/0.4527, allocations: 147.3 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.4528, allocations: 0 / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.001401/0.4542, allocations: 412.2 kB / 1.033 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.4543, allocations: 93.09 kB / 1.033 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.4544, allocations: 134.5 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.4545, allocations: 29.7 kB / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.4546, allocations: 100.1 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.4546, allocations: 31.55 kB / 1.033 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.4547, allocations: 8 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4548, allocations: 318.8 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.4552, allocations: 84.98 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.4556, allocations: 91.88 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.4561, allocations: 147.3 kB / 1.034 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4561, allocations: 0 / 1.034 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009793/0.4571, allocations: 303.1 kB / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.277e-05/0.4572, allocations: 72.64 kB / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4572, allocations: 0 / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4572, allocations: 4 kB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.4575, allocations: 23.97 kB / 1.034 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.4575, allocations: 4.406 kB / 1.034 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.4578, allocations: 43.86 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.4579, allocations: 12 kB / 1.034 GB, free: 7.066 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001901/0.4581, allocations: 165.3 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.4582, allocations: 15.86 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.4582, allocations: 16.7 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4582, allocations: 3.984 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4582, allocations: 0 / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4582, allocations: 0 / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.4585, allocations: 209.4 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4585, allocations: 0 / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.4587, allocations: 23.98 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4587, allocations: 0 / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.4588, allocations: 11.94 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4588, allocations: 0 / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4588, allocations: 0 / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000991/0.4598, allocations: 306.5 kB / 1.035 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.4599, allocations: 81.02 kB / 1.035 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.4599, allocations: 4 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.4602, allocations: 43.91 kB / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.4604, allocations: 19.97 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.4604, allocations: 4 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000103/0.4605, allocations: 107.2 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4606, allocations: 0 / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003062/0.4609, allocations: 28 kB / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001607/0.4611, allocations: 107.2 kB / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.4621, allocations: 354.6 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4621, allocations: 4 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.4627, allocations: 195.2 kB / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.4629, allocations: 10.92 kB / 1.036 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/0.4639, allocations: 335.5 kB / 1.036 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.4642, allocations: 0.7082 MB / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.4643, allocations: 11.98 kB / 1.037 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.4644, allocations: 11.42 kB / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of SimCode: time 8.02e-07/0.4644, allocations: 0 / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of Templates: time 0.005761/0.4702, allocations: 1.471 MB / 1.038 GB, free: 2.66 MB / 0.6823 GB