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.43/2.43, allocations: 252.6 MB / 265.2 MB, free: 5.734 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.001476/0.001476, allocations: 185.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.526/2.526, allocations: 205.4 MB / 0.5754 GB, free: 10.52 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.001499/0.001499, allocations: 94.64 kB / 0.6797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.461e-05, allocations: 4 kB / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1991, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8204/1.019, allocations: 132.9 MB / 1.025 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/1.02, allocations: 71.66 kB / 1.025 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009525/1.029, allocations: 1.904 MB / 1.027 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.334e-06/1.029, allocations: 0 / 1.027 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.854e-05/1.029, allocations: 4 kB / 1.027 GB, free: 15.98 MB / 0.6511 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.0008883/1.03, allocations: 472.5 kB / 1.027 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.03, allocations: 8.031 kB / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/1.031, allocations: 11.86 kB / 1.027 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/1.031, allocations: 206.9 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/1.031, allocations: 4 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/1.031, allocations: 7.75 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/1.031, allocations: 99.14 kB / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.031, allocations: 0 / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/1.031, allocations: 3.938 kB / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/1.031, allocations: 0 / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/1.032, allocations: 77.61 kB / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009075/1.032, allocations: 357 kB / 1.028 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/1.033, allocations: 92.94 kB / 1.028 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/1.033, allocations: 73.2 kB / 1.028 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/1.033, allocations: 4 kB / 1.028 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/1.033, allocations: 121.4 kB / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.796e-06/1.033, allocations: 0 / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0005436/1.034, allocations: 178.2 kB / 1.028 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/1.034, allocations: 96.97 kB / 1.028 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/1.034, allocations: 134.1 kB / 1.028 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/1.034, allocations: 33.64 kB / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/1.034, allocations: 110.6 kB / 1.029 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/1.034, allocations: 23.44 kB / 1.029 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/1.034, allocations: 0 / 1.029 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.034, allocations: 325.8 kB / 1.029 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/1.035, allocations: 50.67 kB / 1.029 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/1.035, allocations: 56.78 kB / 1.029 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/1.035, allocations: 116.6 kB / 1.029 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.035, allocations: 0 / 1.029 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005226/1.036, allocations: 240.8 kB / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/1.036, allocations: 71.27 kB / 1.029 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.036, allocations: 0 / 1.029 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.036, allocations: 0 / 1.029 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/1.036, allocations: 23.97 kB / 1.029 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/1.036, allocations: 0 / 1.029 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/1.036, allocations: 50.98 kB / 1.029 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/1.036, allocations: 4 kB / 1.029 GB, free: 13.03 MB / 0.6511 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 () * 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.0001573/1.037, allocations: 148.7 kB / 1.03 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/1.037, allocations: 11.86 kB / 1.03 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/1.037, allocations: 18.62 kB / 1.03 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.037, allocations: 0 / 1.03 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.037, allocations: 4 kB / 1.03 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.037, allocations: 0 / 1.03 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/1.037, allocations: 199.7 kB / 1.03 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.037, allocations: 0 / 1.03 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/1.037, allocations: 31.84 kB / 1.03 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/1.037, allocations: 0 / 1.03 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/1.037, allocations: 11.45 kB / 1.03 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.037, allocations: 0 / 1.03 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.037, allocations: 0 / 1.03 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/1.038, allocations: 240.4 kB / 1.03 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/1.038, allocations: 84.92 kB / 1.03 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/1.038, allocations: 7.984 kB / 1.03 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/1.038, allocations: 35.3 kB / 1.03 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.039, allocations: 31.14 kB / 1.03 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/1.039, allocations: 7.562 kB / 1.03 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000103/1.039, allocations: 108.5 kB / 1.03 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.039, allocations: 0 / 1.03 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003056/1.039, allocations: 27.31 kB / 1.03 GB, free: 12.06 MB / 0.6511 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) * 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.0001681/1.039, allocations: 101.1 kB / 1.03 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005565/1.04, allocations: 297.2 kB / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.04, allocations: 0 / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/1.04, allocations: 168.2 kB / 1.031 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/1.04, allocations: 7.984 kB / 1.031 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/1.041, allocations: 208.3 kB / 1.031 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/1.041, allocations: 0.7084 MB / 1.032 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001203/1.041, allocations: 19.91 kB / 1.032 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/1.042, allocations: 15.38 kB / 1.032 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.563e-06/1.042, allocations: 0 / 1.032 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of Templates: time 0.005957/1.048, allocations: 1.469 MB / 1.033 GB, free: 9.137 MB / 0.6511 GB