Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009945/0.0009945, allocations: 165.4 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9009/0.9009, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.828/1.828, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7751 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.08e-05, allocations: 6.031 kB / 0.7751 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.0019/0.001921, allocations: 1.6 MB / 0.7767 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007935/0.002714, allocations: 0.6319 MB / 0.7773 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.002773, allocations: 7.938 kB / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.433e-05/0.002868, allocations: 9.328 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.002923, allocations: 21.38 kB / 0.7773 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.003301, allocations: 112.4 kB / 0.7774 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.003429, allocations: 104.7 kB / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.499e-05/0.003504, allocations: 20.2 kB / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.003642, allocations: 63.81 kB / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.003703, allocations: 35.89 kB / 0.7777 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.003719, allocations: 8 kB / 0.7777 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.003831, allocations: 95.83 kB / 0.7778 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.003866, allocations: 19.92 kB / 0.7778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.003907, allocations: 34.34 kB / 0.7778 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.004071, allocations: 147.5 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004073, allocations: 0 / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004074, allocations: 0 / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.004077, allocations: 0 / 0.7779 GB, free: 2.57 MB / 0.7292 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.0004162/0.004493, allocations: 351.1 kB / 0.7783 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.004522, allocations: 13.34 kB / 0.7783 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.004668, allocations: 30.62 kB / 0.7783 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.004807, allocations: 138.6 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.004818, allocations: 4.375 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.004831, allocations: 4.375 kB / 0.7785 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.005019, allocations: 90.47 kB / 0.7785 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.005027, allocations: 192 / 0.7785 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.005039, allocations: 5.125 kB / 0.7786 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.005069, allocations: 7.938 kB / 0.7786 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.816e-05/0.005107, allocations: 14.73 kB / 0.7786 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.00543, allocations: 205.8 kB / 0.7788 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.491e-05/0.005505, allocations: 74.47 kB / 0.7788 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.005527, allocations: 12.86 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.005539, allocations: 0 / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.005641, allocations: 80.94 kB / 0.7789 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.005643, allocations: 0 / 0.7789 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001424/0.005785, allocations: 73.67 kB / 0.779 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.005822, allocations: 51.41 kB / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.0059, allocations: 145.4 kB / 0.7792 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.005916, allocations: 33.7 kB / 0.7792 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.005956, allocations: 100 kB / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.005973, allocations: 29.94 kB / 0.7793 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.006012, allocations: 25.7 kB / 0.7794 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.006084, allocations: 326.8 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.006122, allocations: 40.53 kB / 0.7797 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.006152, allocations: 37.69 kB / 0.7798 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.424e-05/0.006216, allocations: 72.23 kB / 0.7798 GB, free: 484 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006218, allocations: 1.125 kB / 0.7798 GB, free: 484 kB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001045/0.006322, allocations: 129 kB / 0.7799 GB, free: 336 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.006348, allocations: 29.81 kB / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.006353, allocations: 4.75 kB / 0.78 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.006365, allocations: 0 / 0.78 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.006443, allocations: 24.5 kB / 0.78 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.006445, allocations: 0.9375 kB / 0.78 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.006501, allocations: 11.95 kB / 0.78 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.00651, allocations: 4.578 kB / 0.78 GB, free: 256 kB / 0.7292 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 6.475e-05/0.006575, allocations: 121.4 kB / 0.7801 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.006589, allocations: 12.52 kB / 0.7801 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.00661, allocations: 16.78 kB / 0.7802 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.006621, allocations: 9.422 kB / 0.7802 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.006623, allocations: 4 kB / 0.7802 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.006627, allocations: 0 / 0.7802 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.033e-05/0.006717, allocations: 85.86 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.006719, allocations: 0.6562 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.006757, allocations: 16.48 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.00676, allocations: 3.938 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.006766, allocations: 4.531 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006767, allocations: 1.328 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.006769, allocations: 3.984 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.477e-05/0.006864, allocations: 98.73 kB / 0.7804 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.006876, allocations: 16.72 kB / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.006895, allocations: 7.938 kB / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.006935, allocations: 16.55 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.006971, allocations: 7.984 kB / 0.7804 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.006978, allocations: 8.672 kB / 0.7804 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.409e-05/0.007002, allocations: 26.89 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007002, allocations: 1.75 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001445/0.007147, allocations: 40 kB / 0.7805 GB, free: 15.72 MB / 0.7448 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.0001243/0.007271, allocations: 100.3 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.007399, allocations: 130.5 kB / 0.7807 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.007401, allocations: 1 kB / 0.7807 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.007439, allocations: 24.84 kB / 0.7807 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.765e-05/0.007537, allocations: 16.45 kB / 0.7808 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.007969, allocations: 225.8 kB / 0.781 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.073e-05/0.008, allocations: 67.28 kB / 0.781 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.008036, allocations: 6.875 kB / 0.7811 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.008098, allocations: 67.36 kB / 0.7811 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.008099, allocations: 0 / 0.7811 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of Templates: time 0.002946/0.01105, allocations: 1.486 MB / 0.7826 GB, free: 13.59 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.636855873744935]