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.009187/0.009187, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001342/0.001342, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.59/1.59, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.567/1.567, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.001615/0.001615, allocations: 67.91 kB / 0.7257 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7831, allocations: 104.7 MB / 0.828 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00304/0.7862, allocations: 1.551 MB / 0.8295 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.7873, allocations: 0.6261 MB / 0.8301 GB, free: 384 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.7874, allocations: 4 kB / 0.8301 GB, free: 380 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.7875, allocations: 7.875 kB / 0.8301 GB, free: 372 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.832e-05/0.7876, allocations: 19.8 kB / 0.8302 GB, free: 352 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.788, allocations: 91.77 kB / 0.8303 GB, free: 260 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.7882, allocations: 99.64 kB / 0.8303 GB, free: 160 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.7883, allocations: 32.14 kB / 0.8304 GB, free: 128 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.7884, allocations: 35.91 kB / 0.8304 GB, free: 92 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 9.454e-05/0.7885, allocations: 51.7 kB / 0.8305 GB, free: 40 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.7885, allocations: 8 kB / 0.8305 GB, free: 32 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.7887, allocations: 87.91 kB / 0.8306 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.7888, allocations: 23.91 kB / 0.8306 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.863e-05/0.7889, allocations: 39.8 kB / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.7891, allocations: 139.1 kB / 0.8307 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7891, allocations: 0 / 0.8307 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7891, allocations: 0 / 0.8307 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.7891, allocations: 4 kB / 0.8307 GB, free: 15.75 MB / 0.6387 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.0008376/0.79, allocations: 447.1 kB / 0.8312 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.79, allocations: 12.03 kB / 0.8312 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.7901, allocations: 16.77 kB / 0.8312 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.7903, allocations: 192.1 kB / 0.8314 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.7903, allocations: 8.375 kB / 0.8314 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.7903, allocations: 4.375 kB / 0.8314 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.7906, allocations: 109.9 kB / 0.8315 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7907, allocations: 0 / 0.8315 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.7907, allocations: 4 kB / 0.8315 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.7907, allocations: 4 kB / 0.8315 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.7911, allocations: 87.91 kB / 0.8316 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.7917, allocations: 360.5 kB / 0.8319 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.7921, allocations: 90.52 kB / 0.832 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.7923, allocations: 52.88 kB / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.7923, allocations: 8 kB / 0.8321 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/0.7927, allocations: 115.2 kB / 0.8322 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.7927, allocations: 0 / 0.8322 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0006656/0.7933, allocations: 205.8 kB / 0.8324 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.7934, allocations: 55.39 kB / 0.8324 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.7935, allocations: 148.8 kB / 0.8326 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.7936, allocations: 29.7 kB / 0.8326 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.7936, allocations: 100 kB / 0.8327 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.7937, allocations: 27.72 kB / 0.8327 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.7937, allocations: 29.7 kB / 0.8328 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7939, allocations: 326.8 kB / 0.8331 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.7941, allocations: 51.95 kB / 0.8331 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.7943, allocations: 59.95 kB / 0.8332 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.7946, allocations: 150.6 kB / 0.8333 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7947, allocations: 4 kB / 0.8333 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004529/0.7951, allocations: 199 kB / 0.8335 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.7952, allocations: 33.7 kB / 0.8335 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7952, allocations: 0 / 0.8335 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.7952, allocations: 0 / 0.8335 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.7953, allocations: 19.97 kB / 0.8336 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.7954, allocations: 0 / 0.8336 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.7955, allocations: 19.98 kB / 0.8336 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.7955, allocations: 4 kB / 0.8336 GB, free: 12.59 MB / 0.6387 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 9.562e-05/0.7956, allocations: 125.8 kB / 0.8337 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.7957, allocations: 11.91 kB / 0.8337 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.7957, allocations: 12.72 kB / 0.8337 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.7957, allocations: 7.984 kB / 0.8337 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7957, allocations: 0 / 0.8337 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.7957, allocations: 0 / 0.8337 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.7959, allocations: 209.4 kB / 0.8339 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7959, allocations: 4 kB / 0.8339 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.796, allocations: 15.97 kB / 0.834 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.796, allocations: 0 / 0.834 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.796, allocations: 7.938 kB / 0.834 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7961, allocations: 0 / 0.834 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.7961, allocations: 0 / 0.834 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.7965, allocations: 188.9 kB / 0.8341 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.7965, allocations: 88.95 kB / 0.8342 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.7966, allocations: 4 kB / 0.8342 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.7967, allocations: 15.97 kB / 0.8343 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.7968, allocations: 15.98 kB / 0.8343 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.7968, allocations: 0 / 0.8343 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.527e-05/0.7969, allocations: 111.2 kB / 0.8344 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7969, allocations: 0 / 0.8344 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002403/0.7971, allocations: 35.94 kB / 0.8344 GB, free: 11.65 MB / 0.6387 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.0001884/0.7973, allocations: 120.3 kB / 0.8345 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004881/0.7978, allocations: 187.2 kB / 0.8347 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7978, allocations: 4 kB / 0.8347 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.7981, allocations: 63.95 kB / 0.8348 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.7983, allocations: 15.59 kB / 0.8348 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.7988, allocations: 225.7 kB / 0.835 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.7991, allocations: 0.7041 MB / 0.8357 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.782e-05/0.7992, allocations: 15.97 kB / 0.8357 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.7992, allocations: 11.44 kB / 0.8357 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.7992, allocations: 0 / 0.8357 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of Templates: time 0.004003/0.8032, allocations: 1.408 MB / 0.8371 GB, free: 8.844 MB / 0.6387 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)