Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.697/1.697, allocations: 288.4 MB / 304.3 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 186.9 kB / 373 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 0.6317 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 94.34 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004493, allocations: 15.86 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.247, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8024/1.049, allocations: 139.7 MB / 1.117 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/1.05, allocations: 72.62 kB / 1.117 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01052/1.06, allocations: 3.494 MB / 1.121 GB, free: 32.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/1.06, allocations: 0 / 1.121 GB, free: 32.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.073e-05/1.06, allocations: 4 kB / 1.121 GB, free: 32.05 MB / 0.698 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.0006918/1.061, allocations: 457.4 kB / 1.121 GB, free: 31.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.061, allocations: 11.56 kB / 1.121 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/1.061, allocations: 8.656 kB / 1.121 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/1.061, allocations: 207.8 kB / 1.121 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/1.061, allocations: 8.312 kB / 1.121 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/1.061, allocations: 4.219 kB / 1.121 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/1.062, allocations: 112.1 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.062, allocations: 192 / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.062, allocations: 3.938 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.062, allocations: 0 / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/1.062, allocations: 110.5 kB / 1.121 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/1.063, allocations: 373.2 kB / 1.122 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/1.063, allocations: 108.9 kB / 1.122 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/1.063, allocations: 70.41 kB / 1.122 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/1.063, allocations: 3.875 kB / 1.122 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/1.064, allocations: 123.3 kB / 1.122 GB, free: 30.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/1.064, allocations: 0 / 1.122 GB, free: 30.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0006459/1.064, allocations: 237 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.064, allocations: 59.06 kB / 1.122 GB, free: 30.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/1.064, allocations: 133.4 kB / 1.123 GB, free: 30.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/1.064, allocations: 28.66 kB / 1.123 GB, free: 30.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/1.065, allocations: 102.2 kB / 1.123 GB, free: 30.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/1.065, allocations: 31.25 kB / 1.123 GB, free: 30.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/1.065, allocations: 3.938 kB / 1.123 GB, free: 30.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.065, allocations: 323.1 kB / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/1.065, allocations: 65.14 kB / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/1.065, allocations: 69.98 kB / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/1.065, allocations: 164.8 kB / 1.123 GB, free: 30.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.065, allocations: 0 / 1.123 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004285/1.066, allocations: 219.2 kB / 1.123 GB, free: 30.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/1.066, allocations: 29.61 kB / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.066, allocations: 3.906 kB / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.066, allocations: 3.234 kB / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/1.066, allocations: 24.86 kB / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.066, allocations: 3.938 kB / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/1.066, allocations: 28.72 kB / 1.124 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/1.066, allocations: 3.812 kB / 1.124 GB, free: 30.15 MB / 0.698 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: 0 * Algorithm blocks: 1 * Record equations: 1 * 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 0.0001071/1.066, allocations: 125.4 kB / 1.124 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/1.066, allocations: 10.91 kB / 1.124 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/1.067, allocations: 186.5 kB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.067, allocations: 0 / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.067, allocations: 4 kB / 1.124 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.067, allocations: 0 / 1.124 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/1.067, allocations: 223 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.067, allocations: 0 / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/1.067, allocations: 21.84 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.067, allocations: 0 / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/1.067, allocations: 3.844 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.067, allocations: 0 / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.067, allocations: 4 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/1.068, allocations: 206.3 kB / 1.124 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/1.068, allocations: 84.89 kB / 1.124 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/1.068, allocations: 0 / 1.124 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/1.068, allocations: 22.39 kB / 1.124 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/1.068, allocations: 14.58 kB / 1.124 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/1.068, allocations: 3.812 kB / 1.124 GB, free: 29.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.641e-05/1.068, allocations: 112 kB / 1.125 GB, free: 29.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.068, allocations: 0 / 1.125 GB, free: 29.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002597/1.068, allocations: 38.59 kB / 1.125 GB, free: 29.52 MB / 0.698 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: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001896/1.069, allocations: 124.9 kB / 1.125 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004836/1.069, allocations: 241.9 kB / 1.125 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.069, allocations: 0 / 1.125 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/1.069, allocations: 99.2 kB / 1.125 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/1.069, allocations: 11.02 kB / 1.125 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/1.07, allocations: 251.7 kB / 1.125 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/1.07, allocations: 0.6998 MB / 1.126 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.661e-05/1.07, allocations: 10.69 kB / 1.126 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/1.07, allocations: 17.73 kB / 1.126 GB, free: 28.41 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.07, allocations: 0 / 1.126 GB, free: 28.41 MB / 0.698 GB Notification: Performance of Templates: time 0.003613/1.074, allocations: 1.289 MB / 1.127 GB, free: 28.31 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)