Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 195.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.634/1.634, allocations: 251.6 MB / 0.5089 GB, free: 3.293 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 64.47 kB / 0.6217 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6586/0.6602, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003203/0.6634, allocations: 1.616 MB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.6648, allocations: 0.6316 MB / 0.7262 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.6648, allocations: 0 / 0.7262 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.665, allocations: 7.938 kB / 0.7262 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.6651, allocations: 19.86 kB / 0.7262 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.6656, allocations: 75.86 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.6658, allocations: 103.6 kB / 0.7264 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.666, allocations: 20.22 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.6661, allocations: 43.84 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.6663, allocations: 47.81 kB / 0.7265 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.6663, allocations: 11.94 kB / 0.7265 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.6664, allocations: 63.89 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.6665, allocations: 15.98 kB / 0.7266 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.6666, allocations: 39.73 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.6668, allocations: 141.6 kB / 0.7267 GB, free: 10.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.6669, allocations: 0 / 0.7267 GB, free: 10.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.889e-06/0.6669, allocations: 4 kB / 0.7267 GB, free: 10.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.6669, allocations: 4 kB / 0.7267 GB, free: 10.23 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009726/0.6679, allocations: 452.7 kB / 0.7272 GB, free: 9.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.6679, allocations: 8.031 kB / 0.7272 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.668, allocations: 8.844 kB / 0.7272 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.6682, allocations: 192.1 kB / 0.7274 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.6682, allocations: 4.375 kB / 0.7274 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.6683, allocations: 8.359 kB / 0.7274 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.6686, allocations: 105.9 kB / 0.7275 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6686, allocations: 0 / 0.7275 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.6687, allocations: 4 kB / 0.7275 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.6687, allocations: 3.984 kB / 0.7275 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.6691, allocations: 95.86 kB / 0.7276 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008597/0.67, allocations: 356.6 kB / 0.7279 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.6703, allocations: 86.52 kB / 0.728 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.6706, allocations: 64.98 kB / 0.7281 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.6706, allocations: 7.875 kB / 0.7281 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.6709, allocations: 111.3 kB / 0.7282 GB, free: 8.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.671, allocations: 0 / 0.7282 GB, free: 8.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006984/0.6717, allocations: 209.7 kB / 0.7284 GB, free: 8.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.6717, allocations: 51.41 kB / 0.7284 GB, free: 8.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.6719, allocations: 141.1 kB / 0.7286 GB, free: 8.164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.6719, allocations: 29.64 kB / 0.7286 GB, free: 8.129 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.672, allocations: 104 kB / 0.7287 GB, free: 8.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.672, allocations: 27.72 kB / 0.7287 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.6721, allocations: 29.7 kB / 0.7287 GB, free: 7.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6723, allocations: 326.8 kB / 0.7291 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.6725, allocations: 55.95 kB / 0.7291 GB, free: 7.578 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.6727, allocations: 59.89 kB / 0.7292 GB, free: 7.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.673, allocations: 146.4 kB / 0.7293 GB, free: 7.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6731, allocations: 0 / 0.7293 GB, free: 7.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004472/0.6735, allocations: 195.2 kB / 0.7295 GB, free: 7.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.6736, allocations: 37.64 kB / 0.7295 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6736, allocations: 0 / 0.7295 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.6736, allocations: 0 / 0.7295 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.6738, allocations: 27.97 kB / 0.7296 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.6738, allocations: 3.938 kB / 0.7296 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.6739, allocations: 15.89 kB / 0.7296 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.674, allocations: 4 kB / 0.7296 GB, free: 7.07 MB / 0.545 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.6741, allocations: 121.8 kB / 0.7297 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.6741, allocations: 15.91 kB / 0.7297 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.6742, allocations: 8.719 kB / 0.7297 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.6742, allocations: 7.984 kB / 0.7297 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.6742, allocations: 4 kB / 0.7297 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6742, allocations: 0 / 0.7297 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.6744, allocations: 201.5 kB / 0.7299 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6744, allocations: 0 / 0.7299 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.6745, allocations: 19.97 kB / 0.7299 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.6746, allocations: 3.984 kB / 0.7299 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.6746, allocations: 4 kB / 0.7299 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6746, allocations: 0 / 0.7299 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6746, allocations: 0 / 0.7299 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.675, allocations: 192.9 kB / 0.7301 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.6751, allocations: 81.02 kB / 0.7302 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.6751, allocations: 11.92 kB / 0.7302 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.6753, allocations: 11.98 kB / 0.7302 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.6753, allocations: 15.98 kB / 0.7302 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.6754, allocations: 8 kB / 0.7303 GB, free: 6.281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.225e-05/0.6755, allocations: 111.2 kB / 0.7304 GB, free: 6.172 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6755, allocations: 0 / 0.7304 GB, free: 6.172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003039/0.6758, allocations: 39.94 kB / 0.7304 GB, free: 6.133 MB / 0.545 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: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002201/0.676, allocations: 123.2 kB / 0.7305 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005171/0.6765, allocations: 187.3 kB / 0.7307 GB, free: 5.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6765, allocations: 0 / 0.7307 GB, free: 5.809 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.6767, allocations: 67.89 kB / 0.7308 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.677, allocations: 8.297 kB / 0.7308 GB, free: 5.734 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.6777, allocations: 263.5 kB / 0.731 GB, free: 5.449 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.6781, allocations: 0.7041 MB / 0.7317 GB, free: 4.719 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.921e-05/0.6782, allocations: 15.98 kB / 0.7317 GB, free: 4.703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.6782, allocations: 15.42 kB / 0.7317 GB, free: 4.688 MB / 0.545 GB Notification: Performance of SimCode: time 1.91e-07/0.6782, allocations: 0 / 0.7317 GB, free: 4.688 MB / 0.545 GB Notification: Performance of Templates: time 0.004118/0.6824, allocations: 1.331 MB / 0.733 GB, free: 3.363 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)