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.001003/0.001003, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.00147/0.00147, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.732/1.732, allocations: 252 MB / 0.5102 GB, free: 4.766 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.0006057/0.0006058, allocations: 12 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5953/0.596, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001594/0.5976, allocations: 1.258 MB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008423/0.5985, allocations: 0.5931 MB / 0.7299 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.5985, allocations: 0 / 0.7299 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.5987, allocations: 3.938 kB / 0.7299 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.124e-05/0.5988, allocations: 23.84 kB / 0.73 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.5992, allocations: 67.86 kB / 0.73 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.5993, allocations: 79.7 kB / 0.7301 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.5995, allocations: 20.22 kB / 0.7301 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.5996, allocations: 39.83 kB / 0.7302 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.5997, allocations: 39.83 kB / 0.7302 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.5998, allocations: 7.938 kB / 0.7302 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.5999, allocations: 47.91 kB / 0.7302 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.6, allocations: 15.92 kB / 0.7303 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.6, allocations: 33.7 kB / 0.7303 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.6002, allocations: 93.8 kB / 0.7304 GB, free: 9.074 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.6002, allocations: 0 / 0.7304 GB, free: 9.074 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6002, allocations: 0 / 0.7304 GB, free: 9.074 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6002, allocations: 0 / 0.7304 GB, free: 9.074 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.0008963/0.6011, allocations: 456.6 kB / 0.7308 GB, free: 8.574 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6012, allocations: 8.031 kB / 0.7308 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.6012, allocations: 11.81 kB / 0.7308 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.6015, allocations: 190.9 kB / 0.731 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.6015, allocations: 7.984 kB / 0.731 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.6015, allocations: 8 kB / 0.731 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.6019, allocations: 105.6 kB / 0.7311 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6019, allocations: 0 / 0.7311 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.6019, allocations: 7.938 kB / 0.7311 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.6019, allocations: 7.984 kB / 0.7311 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.6023, allocations: 111.8 kB / 0.7313 GB, free: 8.078 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006525/0.6029, allocations: 368.6 kB / 0.7316 GB, free: 7.668 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.6032, allocations: 102.5 kB / 0.7317 GB, free: 7.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.6034, allocations: 72.81 kB / 0.7318 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.6034, allocations: 0 / 0.7318 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.6038, allocations: 127.3 kB / 0.7319 GB, free: 7.348 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.6038, allocations: 0 / 0.7319 GB, free: 7.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006183/0.6044, allocations: 237.4 kB / 0.7321 GB, free: 7.109 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.6045, allocations: 55.41 kB / 0.7322 GB, free: 7.043 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.6046, allocations: 136.9 kB / 0.7323 GB, free: 6.902 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.6046, allocations: 33.7 kB / 0.7323 GB, free: 6.863 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.6047, allocations: 100 kB / 0.7324 GB, free: 6.762 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.6047, allocations: 27.56 kB / 0.7325 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.6047, allocations: 4.062 kB / 0.7325 GB, free: 6.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.6048, allocations: 322.8 kB / 0.7328 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.605, allocations: 67.95 kB / 0.7328 GB, free: 6.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.6052, allocations: 67.94 kB / 0.7329 GB, free: 6.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.6054, allocations: 97.66 kB / 0.733 GB, free: 6.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6054, allocations: 3.938 kB / 0.733 GB, free: 6.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004148/0.6058, allocations: 215.2 kB / 0.7332 GB, free: 5.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.6059, allocations: 37.69 kB / 0.7332 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6059, allocations: 0 / 0.7332 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.6059, allocations: 0 / 0.7332 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.606, allocations: 19.98 kB / 0.7333 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.606, allocations: 4.469 kB / 0.7333 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.6062, allocations: 27.97 kB / 0.7333 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.6062, allocations: 4 kB / 0.7333 GB, free: 5.848 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 ($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: 1 * Algorithm blocks: 1 * 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 8.811e-05/0.6063, allocations: 121.7 kB / 0.7334 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.6063, allocations: 11.86 kB / 0.7334 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.6063, allocations: 16.7 kB / 0.7334 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.6064, allocations: 8 kB / 0.7334 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6064, allocations: 0 / 0.7334 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.6064, allocations: 0 / 0.7334 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.6065, allocations: 209.5 kB / 0.7336 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6066, allocations: 0 / 0.7336 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.6067, allocations: 19.98 kB / 0.7337 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6067, allocations: 0 / 0.7337 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.6067, allocations: 7.938 kB / 0.7337 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6067, allocations: 0 / 0.7337 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6067, allocations: 4.078 kB / 0.7337 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.6071, allocations: 208.8 kB / 0.7339 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.6071, allocations: 81.02 kB / 0.7339 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.6072, allocations: 8 kB / 0.734 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.6073, allocations: 23.92 kB / 0.734 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.6074, allocations: 15.97 kB / 0.734 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.6074, allocations: 4 kB / 0.734 GB, free: 5.027 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.6075, allocations: 111.2 kB / 0.7341 GB, free: 4.918 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6075, allocations: 0 / 0.7341 GB, free: 4.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002315/0.6077, allocations: 36 kB / 0.7341 GB, free: 4.883 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 (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.0001549/0.6079, allocations: 113.9 kB / 0.7342 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004286/0.6083, allocations: 211.2 kB / 0.7344 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6083, allocations: 0 / 0.7344 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.6085, allocations: 71.95 kB / 0.7345 GB, free: 4.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.6087, allocations: 15.97 kB / 0.7345 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.6092, allocations: 254.9 kB / 0.7348 GB, free: 4.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.6095, allocations: 0.7006 MB / 0.7355 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.68e-05/0.6095, allocations: 11.98 kB / 0.7355 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.6096, allocations: 19.38 kB / 0.7355 GB, free: 3.426 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6096, allocations: 4 kB / 0.7355 GB, free: 3.422 MB / 0.545 GB Notification: Performance of Templates: time 0.003573/0.6132, allocations: 1.238 MB / 0.7367 GB, free: 2.191 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: