Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.494/2.494, allocations: 285 MB / 292.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 188.8 kB / 360.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 91.08 kB / 0.7322 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.299e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.8494, allocations: 115.2 MB / 0.9634 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/1.086, allocations: 138.5 MB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/1.086, allocations: 75.95 kB / 1.099 GB, free: 1.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01333/1.099, allocations: 1.892 MB / 1.101 GB, free: 20 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/1.099, allocations: 0 / 1.101 GB, free: 20 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.664e-05/1.1, allocations: 4.438 kB / 1.101 GB, free: 16 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001227/1.101, allocations: 462.6 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.302e-05/1.101, allocations: 8.031 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/1.101, allocations: 18.02 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/1.102, allocations: 198.9 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/1.102, allocations: 6.188 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/1.102, allocations: 4 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003425/1.102, allocations: 63.97 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/1.102, allocations: 98.08 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.102, allocations: 0 / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/1.102, allocations: 4 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.102, allocations: 0 / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/1.104, allocations: 339.1 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/1.104, allocations: 90.55 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/1.104, allocations: 70.08 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/1.104, allocations: 4 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/1.105, allocations: 111.4 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/1.105, allocations: 0 / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004688/1.105, allocations: 153.3 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/1.105, allocations: 101 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/1.105, allocations: 118.9 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/1.105, allocations: 25.7 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/1.105, allocations: 105.3 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/1.105, allocations: 31.61 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/1.105, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.106, allocations: 322.8 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/1.106, allocations: 47.98 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/1.106, allocations: 48.98 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/1.106, allocations: 58.66 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.106, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004309/1.107, allocations: 160.2 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.552e-05/1.107, allocations: 75.39 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.107, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.766e-05/1.107, allocations: 10.7 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/1.107, allocations: 23.97 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.107, allocations: 0 / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/1.107, allocations: 43.89 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/1.107, allocations: 8 kB / 1.103 GB, free: 13.05 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000159/1.108, allocations: 146.5 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/1.108, allocations: 11.91 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/1.108, allocations: 8.625 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.108, allocations: 12.59 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.108, allocations: 4 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.108, allocations: 3.938 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/1.108, allocations: 174.1 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/1.108, allocations: 0 / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/1.108, allocations: 23.97 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.108, allocations: 0 / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/1.108, allocations: 4 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.108, allocations: 3.938 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.108, allocations: 6.688 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/1.109, allocations: 193.6 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/1.109, allocations: 81.02 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/1.109, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/1.109, allocations: 33.36 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.109, allocations: 27.97 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/1.109, allocations: 7.984 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.631e-05/1.109, allocations: 104.8 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.109, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003268/1.11, allocations: 27.98 kB / 1.104 GB, free: 12.11 MB / 0.7136 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001489/1.11, allocations: 103.1 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005334/1.111, allocations: 286.7 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.111, allocations: 4 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/1.111, allocations: 159.3 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/1.111, allocations: 18.64 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/1.112, allocations: 202.9 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/1.112, allocations: 0.7048 MB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001155/1.112, allocations: 18.19 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/1.112, allocations: 15.42 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/1.112, allocations: 0 / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.00559/1.118, allocations: 1.388 MB / 1.107 GB, free: 9.195 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)