Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5303/0.5303, allocations: 95.62 MB / 110.6 MB, free: 9.371 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001068/0.001068, allocations: 166 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.432/1.432, allocations: 170.7 MB / 328.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001607/0.001607, allocations: 99.34 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1259, allocations: 61.52 MB / 0.512 GB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.418/0.5439, allocations: 95.11 MB / 0.6048 GB, free: 12.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.5442, allocations: 74.27 kB / 0.6049 GB, free: 12.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005902/0.5501, allocations: 1.887 MB / 0.6068 GB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5501, allocations: 4 kB / 0.6068 GB, free: 10.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.5501, allocations: 0 / 0.6068 GB, free: 10.54 MB / 410.7 MB 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.0006857/0.5508, allocations: 482.4 kB / 0.6072 GB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5508, allocations: 11.98 kB / 0.6072 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.5509, allocations: 12.59 kB / 0.6072 GB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.5512, allocations: 202.9 kB / 0.6074 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5512, allocations: 7.125 kB / 0.6074 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.5512, allocations: 4 kB / 0.6074 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.5516, allocations: 143.2 kB / 0.6076 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.5516, allocations: 0 / 0.6076 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.5516, allocations: 4 kB / 0.6076 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5516, allocations: 4 kB / 0.6076 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.552, allocations: 133.7 kB / 0.6077 GB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.5527, allocations: 360.8 kB / 0.6081 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.5531, allocations: 148.8 kB / 0.6082 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.5531, allocations: 3.938 kB / 0.6082 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.5534, allocations: 144.2 kB / 0.6083 GB, free: 8.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/0.5534, allocations: 0 / 0.6083 GB, free: 8.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008489/0.5543, allocations: 425.8 kB / 0.6088 GB, free: 8.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.5543, allocations: 88.3 kB / 0.6088 GB, free: 8.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.5545, allocations: 132.1 kB / 0.609 GB, free: 8.242 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.5545, allocations: 25.7 kB / 0.609 GB, free: 8.211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.5546, allocations: 104.5 kB / 0.6091 GB, free: 8.117 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.5546, allocations: 31.48 kB / 0.6091 GB, free: 8.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.5546, allocations: 4 kB / 0.6091 GB, free: 8.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5548, allocations: 318.6 kB / 0.6094 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.555, allocations: 90.38 kB / 0.6095 GB, free: 7.699 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.5552, allocations: 92.39 kB / 0.6096 GB, free: 7.625 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.5555, allocations: 152.1 kB / 0.6097 GB, free: 7.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5555, allocations: 3.953 kB / 0.6097 GB, free: 7.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005718/0.5561, allocations: 294.8 kB / 0.61 GB, free: 7.215 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/0.5561, allocations: 73.14 kB / 0.6101 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5562, allocations: 0.7031 kB / 0.6101 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5562, allocations: 0 / 0.6101 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.5563, allocations: 23.98 kB / 0.6101 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.5564, allocations: 3.984 kB / 0.6101 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.5566, allocations: 39.81 kB / 0.6102 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.5566, allocations: 4 kB / 0.6102 GB, free: 7.066 MB / 410.7 MB 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: 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.0001398/0.5567, allocations: 174.2 kB / 0.6103 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.5568, allocations: 12.33 kB / 0.6103 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.5568, allocations: 12.09 kB / 0.6104 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.5568, allocations: 0 / 0.6104 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5568, allocations: 0 / 0.6104 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5568, allocations: 3.984 kB / 0.6104 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.557, allocations: 207.7 kB / 0.6106 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.557, allocations: 0 / 0.6106 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.5572, allocations: 31.92 kB / 0.6106 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5572, allocations: 0 / 0.6106 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.5572, allocations: 4 kB / 0.6106 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5572, allocations: 0 / 0.6106 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5572, allocations: 0 / 0.6106 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.5578, allocations: 315.9 kB / 0.6109 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.5579, allocations: 100.4 kB / 0.611 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.5579, allocations: 7.953 kB / 0.611 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.5581, allocations: 39.89 kB / 0.611 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5582, allocations: 22.66 kB / 0.6111 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.5582, allocations: 4 kB / 0.6111 GB, free: 6.125 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.424e-05/0.5583, allocations: 114.4 kB / 0.6112 GB, free: 6.023 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5583, allocations: 0 / 0.6112 GB, free: 6.023 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.5585, allocations: 24 kB / 0.6112 GB, free: 6 MB / 410.7 MB 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: 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.0001298/0.5587, allocations: 98.5 kB / 0.6113 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006259/0.5593, allocations: 355 kB / 0.6116 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5593, allocations: 4 kB / 0.6116 GB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.5596, allocations: 202.9 kB / 0.6118 GB, free: 5.406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.5598, allocations: 17.56 kB / 0.6118 GB, free: 5.395 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.5605, allocations: 331.1 kB / 0.6122 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.5608, allocations: 0.7043 MB / 0.6128 GB, free: 4.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.015e-05/0.5609, allocations: 11.98 kB / 0.6129 GB, free: 4.324 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.5609, allocations: 15.42 kB / 0.6129 GB, free: 4.312 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5609, allocations: 0 / 0.6129 GB, free: 4.312 MB / 410.7 MB Notification: Performance of Templates: time 0.003794/0.5647, allocations: 1.48 MB / 0.6143 GB, free: 2.852 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)