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.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001177/0.001177, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.541/1.541, allocations: 205.1 MB / 222 MB, free: 4.988 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.689/1.689, allocations: 251.6 MB / 0.5088 GB, free: 3.305 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.001335/0.001336, allocations: 67.36 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.6821, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003985/0.6861, allocations: 1.62 MB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.6877, allocations: 0.6473 MB / 0.726 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.6878, allocations: 0 / 0.726 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.6879, allocations: 7.938 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.366e-05/0.688, allocations: 15.86 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.6885, allocations: 71.86 kB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.6887, allocations: 87.64 kB / 0.7262 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.6889, allocations: 24.22 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.6891, allocations: 39.84 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.6892, allocations: 43.77 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.6893, allocations: 11.98 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.6894, allocations: 55.95 kB / 0.7263 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.6895, allocations: 19.92 kB / 0.7264 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.6896, allocations: 35.8 kB / 0.7264 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.6898, allocations: 137.5 kB / 0.7265 GB, free: 10.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.6899, allocations: 0 / 0.7265 GB, free: 10.33 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6899, allocations: 0 / 0.7265 GB, free: 10.33 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.6899, allocations: 0 / 0.7265 GB, free: 10.33 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.001009/0.6909, allocations: 460.7 kB / 0.727 GB, free: 9.824 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.691, allocations: 8.031 kB / 0.727 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.691, allocations: 12.84 kB / 0.727 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.6913, allocations: 192.1 kB / 0.7272 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.6913, allocations: 4.375 kB / 0.7272 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.6913, allocations: 4.375 kB / 0.7272 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.6917, allocations: 117.8 kB / 0.7273 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6918, allocations: 3.938 kB / 0.7273 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.6918, allocations: 0 / 0.7273 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.6918, allocations: 4 kB / 0.7273 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.6923, allocations: 95.91 kB / 0.7274 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008363/0.6931, allocations: 348.6 kB / 0.7277 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.6935, allocations: 98.44 kB / 0.7278 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.6937, allocations: 60.88 kB / 0.7279 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.6937, allocations: 0 / 0.7279 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.6941, allocations: 111.3 kB / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.6941, allocations: 0 / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006598/0.6948, allocations: 205.4 kB / 0.7282 GB, free: 8.461 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.6948, allocations: 51.41 kB / 0.7282 GB, free: 8.398 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.6949, allocations: 148.2 kB / 0.7284 GB, free: 8.246 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.695, allocations: 25.7 kB / 0.7284 GB, free: 8.215 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.695, allocations: 100 kB / 0.7285 GB, free: 8.113 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.6951, allocations: 31.7 kB / 0.7285 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.6951, allocations: 25.7 kB / 0.7285 GB, free: 8.051 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6953, allocations: 330.7 kB / 0.7289 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.6955, allocations: 55.95 kB / 0.7289 GB, free: 7.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.6956, allocations: 63.89 kB / 0.729 GB, free: 7.602 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.696, allocations: 138.5 kB / 0.7291 GB, free: 7.457 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.696, allocations: 0 / 0.7291 GB, free: 7.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004812/0.6965, allocations: 207.2 kB / 0.7293 GB, free: 7.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.6966, allocations: 33.7 kB / 0.7293 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6966, allocations: 480 / 0.7293 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6966, allocations: 0 / 0.7293 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.6968, allocations: 19.97 kB / 0.7294 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.6968, allocations: 4 kB / 0.7294 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.6969, allocations: 15.89 kB / 0.7294 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.697, allocations: 11.94 kB / 0.7294 GB, free: 7.152 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.0001096/0.6971, allocations: 121.8 kB / 0.7295 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.6971, allocations: 15.89 kB / 0.7295 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.6972, allocations: 12.72 kB / 0.7295 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.6972, allocations: 4 kB / 0.7295 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6972, allocations: 0 / 0.7295 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6972, allocations: 0 / 0.7295 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.6974, allocations: 205.5 kB / 0.7297 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6974, allocations: 0 / 0.7297 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.6975, allocations: 19.92 kB / 0.7297 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6975, allocations: 7.984 kB / 0.7298 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.6976, allocations: 4 kB / 0.7298 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6976, allocations: 0 / 0.7298 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6976, allocations: 0 / 0.7298 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.698, allocations: 180.8 kB / 0.7299 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.6981, allocations: 89.02 kB / 0.73 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.6981, allocations: 0 / 0.73 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.6982, allocations: 23.91 kB / 0.73 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.6983, allocations: 11.98 kB / 0.73 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.6983, allocations: 0 / 0.73 GB, free: 6.375 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.881e-05/0.6984, allocations: 113.4 kB / 0.7302 GB, free: 6.266 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6984, allocations: 3.938 kB / 0.7302 GB, free: 6.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002651/0.6987, allocations: 39.94 kB / 0.7302 GB, free: 6.223 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.0002616/0.699, allocations: 119.2 kB / 0.7303 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.6995, allocations: 187.2 kB / 0.7305 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6995, allocations: 0 / 0.7305 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.6997, allocations: 63.95 kB / 0.7306 GB, free: 5.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.7, allocations: 18.05 kB / 0.7306 GB, free: 5.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.7006, allocations: 249.4 kB / 0.7308 GB, free: 5.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.701, allocations: 0.7082 MB / 0.7315 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.289e-05/0.7011, allocations: 15.97 kB / 0.7315 GB, free: 4.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.7012, allocations: 11.44 kB / 0.7315 GB, free: 4.793 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.7012, allocations: 0 / 0.7315 GB, free: 4.793 MB / 0.545 GB Notification: Performance of Templates: time 0.004468/0.7056, allocations: 1.268 MB / 0.7328 GB, free: 3.527 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)