Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.000864/0.000864, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0008643/0.0008643, allocations: 173 kB / 23.02 MB, free: 1.551 MB / 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.8674/0.8674, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001567/0.001567, allocations: 237.5 kB / 260.2 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6615/0.6615, allocations: 138.4 MB / 455.2 MB, free: 1.52 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.363e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.001692/0.001706, allocations: 1.587 MB / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007765/0.002482, allocations: 0.631 MB / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.002541, allocations: 0 / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.002645, allocations: 11.86 kB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.899e-05/0.002694, allocations: 27.8 kB / 0.5573 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.003079, allocations: 107.7 kB / 0.5574 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.00321, allocations: 99.61 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.604e-05/0.003296, allocations: 12.23 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.003454, allocations: 75.69 kB / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.003514, allocations: 27.95 kB / 0.5576 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.003532, allocations: 8 kB / 0.5576 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.003641, allocations: 95.84 kB / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.003682, allocations: 23.91 kB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.003721, allocations: 23.92 kB / 0.5577 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.003898, allocations: 155.5 kB / 0.5579 GB, free: 13.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.0039, allocations: 0 / 0.5579 GB, free: 13.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.0039, allocations: 0 / 0.5579 GB, free: 13.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.003904, allocations: 0 / 0.5579 GB, free: 13.65 MB / 490.7 MB 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.000519/0.004423, allocations: 481.8 kB / 0.5583 GB, free: 13.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.004454, allocations: 8.75 kB / 0.5583 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.004622, allocations: 32.83 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.004776, allocations: 150.9 kB / 0.5585 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.004786, allocations: 4.375 kB / 0.5585 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.0048, allocations: 8.375 kB / 0.5585 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.004959, allocations: 86.89 kB / 0.5586 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.004966, allocations: 4.172 kB / 0.5586 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.004976, allocations: 384 / 0.5586 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.005001, allocations: 7.938 kB / 0.5586 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.072e-05/0.005051, allocations: 23.92 kB / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.005445, allocations: 315.6 kB / 0.559 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.784e-05/0.005533, allocations: 47.05 kB / 0.559 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.005568, allocations: 19.62 kB / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.005581, allocations: 4 kB / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.00569, allocations: 81.02 kB / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.005691, allocations: 0 / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001993/0.005891, allocations: 101.5 kB / 0.5592 GB, free: 12.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.005921, allocations: 55.41 kB / 0.5592 GB, free: 12.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/0.006014, allocations: 200.9 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.006034, allocations: 29.7 kB / 0.5595 GB, free: 11.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.006091, allocations: 146.8 kB / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.006108, allocations: 27.8 kB / 0.5596 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.006148, allocations: 31.36 kB / 0.5597 GB, free: 11.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.006258, allocations: 0.5 MB / 0.5602 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.76e-05/0.006306, allocations: 41.69 kB / 0.5602 GB, free: 11.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.006342, allocations: 41.69 kB / 0.5602 GB, free: 11.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.42e-05/0.006416, allocations: 77.42 kB / 0.5603 GB, free: 10.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006418, allocations: 0 / 0.5603 GB, free: 10.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000139/0.006557, allocations: 149 kB / 0.5604 GB, free: 10.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.00658, allocations: 37.69 kB / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.006585, allocations: 0 / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.006594, allocations: 0 / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.006674, allocations: 23.98 kB / 0.5605 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.006679, allocations: 0 / 0.5605 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.006732, allocations: 11.98 kB / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.006742, allocations: 7.938 kB / 0.5605 GB, free: 10.69 MB / 490.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 (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 0.0001466/0.006889, allocations: 164.5 kB / 0.5607 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.006903, allocations: 11.91 kB / 0.5607 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.006924, allocations: 16.77 kB / 0.5607 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.006934, allocations: 4 kB / 0.5607 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.006937, allocations: 0 / 0.5607 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006939, allocations: 4 kB / 0.5607 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.235e-05/0.007032, allocations: 148.5 kB / 0.5609 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007033, allocations: 0 / 0.5609 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.007069, allocations: 11.98 kB / 0.5609 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.007072, allocations: 4 kB / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.007083, allocations: 7.984 kB / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007084, allocations: 0 / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007085, allocations: 3.938 kB / 0.5609 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.007205, allocations: 124.2 kB / 0.561 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.007217, allocations: 11.91 kB / 0.561 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.007234, allocations: 0 / 0.561 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-05/0.007277, allocations: 15.98 kB / 0.561 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.007328, allocations: 15.97 kB / 0.561 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.007335, allocations: 4 kB / 0.561 GB, free: 10.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.125e-05/0.007387, allocations: 143.2 kB / 0.5612 GB, free: 9.949 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007387, allocations: 0 / 0.5612 GB, free: 9.949 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.007537, allocations: 39.92 kB / 0.5612 GB, free: 9.91 MB / 490.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: 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.0001196/0.007657, allocations: 119.2 kB / 0.5613 GB, free: 9.781 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.007812, allocations: 128.8 kB / 0.5615 GB, free: 9.633 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007813, allocations: 4 kB / 0.5615 GB, free: 9.629 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.007858, allocations: 35.61 kB / 0.5615 GB, free: 9.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.008004, allocations: 19.92 kB / 0.5615 GB, free: 9.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.008498, allocations: 218.6 kB / 0.5617 GB, free: 9.324 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.141e-05/0.008529, allocations: 67.34 kB / 0.5618 GB, free: 9.238 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.189e-05/0.008571, allocations: 15.97 kB / 0.5618 GB, free: 9.223 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.008608, allocations: 20.48 kB / 0.5618 GB, free: 9.199 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008609, allocations: 0 / 0.5618 GB, free: 9.199 MB / 490.7 MB Notification: Performance of Templates: time 0.003106/0.01171, allocations: 1.611 MB / 0.5634 GB, free: 7.605 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1927503063343465]