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.001175/0.001175, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.009152/0.009152, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.581/1.581, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.553/1.553, allocations: 252 MB / 0.5105 GB, free: 4.723 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.0005651/0.0005646, allocations: 20.56 kB / 0.6249 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5526/0.5532, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001766/0.555, allocations: 1.269 MB / 0.73 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.5561, allocations: 0.6434 MB / 0.7306 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.5561, allocations: 0 / 0.7306 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.455e-05/0.5562, allocations: 7.938 kB / 0.7306 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.5563, allocations: 15.84 kB / 0.7306 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.5566, allocations: 67.88 kB / 0.7307 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.5567, allocations: 99.62 kB / 0.7308 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.5569, allocations: 20.22 kB / 0.7308 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.557, allocations: 31.91 kB / 0.7308 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.5571, allocations: 43.77 kB / 0.7309 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.5571, allocations: 11.94 kB / 0.7309 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.5572, allocations: 51.95 kB / 0.7309 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.565e-05/0.5573, allocations: 11.98 kB / 0.7309 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.5573, allocations: 65.44 kB / 0.731 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.5575, allocations: 145.4 kB / 0.7311 GB, free: 8.801 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5575, allocations: 4 kB / 0.7311 GB, free: 8.797 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5576, allocations: 0 / 0.7311 GB, free: 8.797 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.5576, allocations: 0 / 0.7311 GB, free: 8.797 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.0007982/0.5584, allocations: 448.8 kB / 0.7316 GB, free: 8.305 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5584, allocations: 8.031 kB / 0.7316 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.5585, allocations: 12.75 kB / 0.7316 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.5587, allocations: 195.8 kB / 0.7318 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.5587, allocations: 384 / 0.7318 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.5587, allocations: 4.375 kB / 0.7318 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.559, allocations: 125.9 kB / 0.7319 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.559, allocations: 0 / 0.7319 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.5591, allocations: 0 / 0.7319 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.5591, allocations: 4 kB / 0.7319 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.5595, allocations: 111.9 kB / 0.732 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.5601, allocations: 360.5 kB / 0.7323 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.5605, allocations: 118.4 kB / 0.7325 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.5607, allocations: 68.88 kB / 0.7325 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.5607, allocations: 4 kB / 0.7325 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.561, allocations: 119.3 kB / 0.7326 GB, free: 7.082 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.664e-06/0.561, allocations: 0 / 0.7326 GB, free: 7.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006852/0.5617, allocations: 233.4 kB / 0.7329 GB, free: 6.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.5618, allocations: 55.41 kB / 0.7329 GB, free: 6.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.5619, allocations: 137.8 kB / 0.733 GB, free: 6.637 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.5619, allocations: 29.7 kB / 0.7331 GB, free: 6.602 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.562, allocations: 104 kB / 0.7332 GB, free: 6.496 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.562, allocations: 23.72 kB / 0.7332 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.5621, allocations: 18 kB / 0.7332 GB, free: 6.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5622, allocations: 326.8 kB / 0.7335 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.5624, allocations: 67.95 kB / 0.7336 GB, free: 6.055 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.5626, allocations: 83.75 kB / 0.7337 GB, free: 5.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.563, allocations: 158.5 kB / 0.7338 GB, free: 5.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.563, allocations: 0 / 0.7338 GB, free: 5.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004786/0.5635, allocations: 223.2 kB / 0.734 GB, free: 5.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.5635, allocations: 37.69 kB / 0.7341 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5635, allocations: 0 / 0.7341 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.5636, allocations: 3.938 kB / 0.7341 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.5637, allocations: 19.98 kB / 0.7341 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.5637, allocations: 4 kB / 0.7341 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.5639, allocations: 19.98 kB / 0.7341 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.5639, allocations: 7.984 kB / 0.7341 GB, free: 5.48 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 8.924e-05/0.564, allocations: 121.8 kB / 0.7342 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.564, allocations: 11.91 kB / 0.7343 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.564, allocations: 12.7 kB / 0.7343 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.5641, allocations: 4 kB / 0.7343 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.5641, allocations: 0 / 0.7343 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5641, allocations: 0 / 0.7343 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.5643, allocations: 213.4 kB / 0.7345 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5643, allocations: 4 kB / 0.7345 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.5644, allocations: 19.98 kB / 0.7345 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5644, allocations: 0 / 0.7345 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5644, allocations: 4 kB / 0.7345 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.5644, allocations: 7.922 kB / 0.7345 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5644, allocations: 0 / 0.7345 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.5649, allocations: 200.9 kB / 0.7347 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.5649, allocations: 89 kB / 0.7348 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.565, allocations: 0 / 0.7348 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.5651, allocations: 15.98 kB / 0.7348 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.5652, allocations: 19.97 kB / 0.7348 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.5652, allocations: 0 / 0.7348 GB, free: 4.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.083e-05/0.5652, allocations: 111.3 kB / 0.7349 GB, free: 4.566 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5653, allocations: 0 / 0.7349 GB, free: 4.566 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002364/0.5655, allocations: 47.88 kB / 0.735 GB, free: 4.52 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.000167/0.5657, allocations: 123.2 kB / 0.7351 GB, free: 4.391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.5661, allocations: 199.3 kB / 0.7353 GB, free: 4.184 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5662, allocations: 0 / 0.7353 GB, free: 4.184 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.5664, allocations: 83.81 kB / 0.7354 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.5666, allocations: 14.75 kB / 0.7354 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.5671, allocations: 259.1 kB / 0.7356 GB, free: 3.809 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.5674, allocations: 0.7005 MB / 0.7363 GB, free: 3.082 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.415e-05/0.5674, allocations: 11.98 kB / 0.7363 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.5675, allocations: 15.42 kB / 0.7363 GB, free: 3.055 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5675, allocations: 0 / 0.7363 GB, free: 3.055 MB / 0.545 GB Notification: Performance of Templates: time 0.003526/0.571, allocations: 1.262 MB / 0.7376 GB, free: 1.797 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: