Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002577/0.002582, allocations: 361.4 kB / 16.58 MB, free: 5.57 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.535/1.535, allocations: 165.8 MB / 183.1 MB, free: 5.512 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.691/3.691, allocations: 410.7 MB / 0.6001 GB, free: 15.15 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.001807/0.001806, allocations: 197.7 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004621, allocations: 12 kB / 0.7429 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4017, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.5719, allocations: 99.71 MB / 0.9061 GB, free: 8.945 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/0.5723, allocations: 75.95 kB / 0.9062 GB, free: 8.871 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.5845, allocations: 1.907 MB / 0.908 GB, free: 6.957 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5845, allocations: 0 / 0.908 GB, free: 6.957 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.5846, allocations: 0 / 0.908 GB, free: 6.957 MB / 458.7 MB 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.001154/0.5857, allocations: 490.2 kB / 0.9085 GB, free: 6.418 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5858, allocations: 8.031 kB / 0.9085 GB, free: 6.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.5859, allocations: 15.89 kB / 0.9085 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.5863, allocations: 204.5 kB / 0.9087 GB, free: 6.156 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.5863, allocations: 0 / 0.9087 GB, free: 6.156 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.5864, allocations: 12 kB / 0.9087 GB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007122/0.5871, allocations: 143.2 kB / 0.9089 GB, free: 6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5871, allocations: 0 / 0.9089 GB, free: 6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.5872, allocations: 0 / 0.9089 GB, free: 6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5872, allocations: 0 / 0.9089 GB, free: 6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009018/0.5881, allocations: 135.8 kB / 0.909 GB, free: 5.867 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.5893, allocations: 367.6 kB / 0.9093 GB, free: 5.461 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008423/0.5901, allocations: 146.5 kB / 0.9095 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.5907, allocations: 104.9 kB / 0.9096 GB, free: 5.203 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.5908, allocations: 0 / 0.9096 GB, free: 5.203 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006954/0.5915, allocations: 147.3 kB / 0.9097 GB, free: 5.047 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 2.365e-06/0.5915, allocations: 0 / 0.9097 GB, free: 5.047 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.001882/0.5934, allocations: 335 kB / 0.91 GB, free: 4.707 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.5935, allocations: 97.09 kB / 0.9101 GB, free: 4.594 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.5937, allocations: 140.8 kB / 0.9103 GB, free: 4.449 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.5938, allocations: 25.7 kB / 0.9103 GB, free: 4.418 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5939, allocations: 100 kB / 0.9104 GB, free: 4.316 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.594, allocations: 39.48 kB / 0.9104 GB, free: 4.277 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.5941, allocations: 0 / 0.9104 GB, free: 4.277 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.5942, allocations: 330.7 kB / 0.9107 GB, free: 3.945 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.5948, allocations: 87.94 kB / 0.9108 GB, free: 3.859 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.5954, allocations: 83.94 kB / 0.9109 GB, free: 3.777 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.596, allocations: 147.3 kB / 0.911 GB, free: 3.621 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.596, allocations: 0 / 0.911 GB, free: 3.621 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001346/0.5973, allocations: 300.1 kB / 0.9113 GB, free: 3.312 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.5975, allocations: 71.39 kB / 0.9114 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5975, allocations: 0 / 0.9114 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.5975, allocations: 0 / 0.9114 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.5979, allocations: 31.97 kB / 0.9114 GB, free: 3.199 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5979, allocations: 0 / 0.9114 GB, free: 3.199 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.5983, allocations: 35.86 kB / 0.9115 GB, free: 3.164 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.5984, allocations: 8 kB / 0.9115 GB, free: 3.156 MB / 458.7 MB 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.0002491/0.5987, allocations: 167 kB / 0.9116 GB, free: 2.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.5987, allocations: 11.91 kB / 0.9116 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.5988, allocations: 16.66 kB / 0.9117 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5988, allocations: 3.984 kB / 0.9117 GB, free: 2.953 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5988, allocations: 4 kB / 0.9117 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.5989, allocations: 0 / 0.9117 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.5992, allocations: 205.5 kB / 0.9119 GB, free: 2.699 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5992, allocations: 4 kB / 0.9119 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.5995, allocations: 15.98 kB / 0.9119 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.5995, allocations: 4 kB / 0.9119 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.5995, allocations: 4 kB / 0.9119 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.5996, allocations: 0 / 0.9119 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.5996, allocations: 3.984 kB / 0.9119 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.6009, allocations: 318.3 kB / 0.9122 GB, free: 2.332 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.601, allocations: 85.02 kB / 0.9123 GB, free: 2.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.6011, allocations: 4.188 kB / 0.9123 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.6015, allocations: 39.95 kB / 0.9123 GB, free: 2.188 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.6017, allocations: 27.91 kB / 0.9123 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.6017, allocations: 7.984 kB / 0.9123 GB, free: 2.152 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.6019, allocations: 107.2 kB / 0.9125 GB, free: 2.047 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6019, allocations: 0 / 0.9125 GB, free: 2.047 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004929/0.6024, allocations: 32.12 kB / 0.9125 GB, free: 2.016 MB / 458.7 MB 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.0002136/0.6026, allocations: 95.25 kB / 0.9126 GB, free: 1.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.6041, allocations: 358.6 kB / 0.9129 GB, free: 1.535 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6041, allocations: 0 / 0.9129 GB, free: 1.535 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.6049, allocations: 199.3 kB / 0.9131 GB, free: 1.328 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.6053, allocations: 11.95 kB / 0.9131 GB, free: 1.316 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.6066, allocations: 331.3 kB / 0.9134 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.607, allocations: 0.7004 MB / 0.9141 GB, free: 240 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.6072, allocations: 15.98 kB / 0.9141 GB, free: 224 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.6073, allocations: 7.438 kB / 0.9141 GB, free: 216 kB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6073, allocations: 0 / 0.9141 GB, free: 216 kB / 458.7 MB Notification: Performance of Templates: time 0.007252/0.6145, allocations: 1.472 MB / 0.9156 GB, free: 14.75 MB / 474.7 MB