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.008725/0.008725, allocations: 98.66 kB / 15.73 MB, free: 5.551 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.00131/0.001311, allocations: 191.5 kB / 16.67 MB, free: 5.492 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.628/1.628, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.671/1.671, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001966/0.001966, allocations: 63.91 kB / 0.7257 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2821, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003697/0.2859, allocations: 1.56 MB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2874, allocations: 0.6201 MB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.2876, allocations: 4 kB / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.2878, allocations: 7.922 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.2879, allocations: 19.8 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.2886, allocations: 95.75 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.2889, allocations: 99.64 kB / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.2891, allocations: 24.16 kB / 0.8304 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.2893, allocations: 47.83 kB / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.2895, allocations: 47.77 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.2895, allocations: 8 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.2897, allocations: 83.86 kB / 0.8306 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.2898, allocations: 15.98 kB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.585e-05/0.2899, allocations: 55.7 kB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.2902, allocations: 127.6 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2902, allocations: 0 / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2902, allocations: 0 / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.2902, allocations: 4 kB / 0.8308 GB, free: 13.41 MB / 0.6544 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.0009522/0.2912, allocations: 452.7 kB / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2912, allocations: 8.031 kB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.2913, allocations: 12.84 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.2915, allocations: 200 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2916, allocations: 4.375 kB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.2916, allocations: 4.375 kB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.2919, allocations: 117.8 kB / 0.8315 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.292, allocations: 0 / 0.8315 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.292, allocations: 4 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.292, allocations: 4 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.2923, allocations: 87.84 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/0.2931, allocations: 348.7 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.2934, allocations: 90.5 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.2936, allocations: 60.88 kB / 0.8321 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2937, allocations: 0 / 0.8321 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.294, allocations: 115.3 kB / 0.8322 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.294, allocations: 0 / 0.8322 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0007102/0.2948, allocations: 209.5 kB / 0.8324 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.2948, allocations: 55.41 kB / 0.8324 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2949, allocations: 148.7 kB / 0.8326 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.295, allocations: 25.7 kB / 0.8326 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.2951, allocations: 100 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.2951, allocations: 23.66 kB / 0.8327 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.2952, allocations: 25.7 kB / 0.8328 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2953, allocations: 334.8 kB / 0.8331 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.2955, allocations: 51.95 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.2957, allocations: 59.95 kB / 0.8332 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.296, allocations: 150.5 kB / 0.8333 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.296, allocations: 4 kB / 0.8333 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004947/0.2965, allocations: 199.2 kB / 0.8335 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.2966, allocations: 34.17 kB / 0.8335 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.2966, allocations: 0 / 0.8335 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2966, allocations: 0 / 0.8335 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.2968, allocations: 19.97 kB / 0.8336 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2968, allocations: 4 kB / 0.8336 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.297, allocations: 23.83 kB / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.297, allocations: 4 kB / 0.8336 GB, free: 10.24 MB / 0.6544 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.000125/0.2971, allocations: 129.7 kB / 0.8337 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.2972, allocations: 7.906 kB / 0.8337 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.2972, allocations: 12.72 kB / 0.8337 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.2972, allocations: 0 / 0.8337 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.2972, allocations: 4 kB / 0.8337 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.2973, allocations: 7.984 kB / 0.8338 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.2975, allocations: 193.6 kB / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2975, allocations: 0 / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.2976, allocations: 23.97 kB / 0.834 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2976, allocations: 3.984 kB / 0.834 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2976, allocations: 4 kB / 0.834 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2976, allocations: 0 / 0.834 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2977, allocations: 0 / 0.834 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.2981, allocations: 184.8 kB / 0.8341 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.2982, allocations: 92.86 kB / 0.8342 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.2982, allocations: 4 kB / 0.8342 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.2984, allocations: 19.95 kB / 0.8343 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.2984, allocations: 11.98 kB / 0.8343 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.2985, allocations: 7.938 kB / 0.8343 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.989e-05/0.2986, allocations: 111.2 kB / 0.8344 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2986, allocations: 0 / 0.8344 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002809/0.2989, allocations: 35.94 kB / 0.8344 GB, free: 9.305 MB / 0.6544 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.000195/0.2991, allocations: 115.2 kB / 0.8345 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.2996, allocations: 187.2 kB / 0.8347 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2996, allocations: 4 kB / 0.8347 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.2998, allocations: 63.89 kB / 0.8348 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.3001, allocations: 16.11 kB / 0.8348 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006309/0.3007, allocations: 227.7 kB / 0.835 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3011, allocations: 0.7041 MB / 0.8357 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.745e-05/0.3012, allocations: 11.98 kB / 0.8357 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.3012, allocations: 11.44 kB / 0.8357 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.3012, allocations: 0 / 0.8357 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of Templates: time 0.004584/0.3058, allocations: 1.463 MB / 0.8371 GB, free: 6.449 MB / 0.6544 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)