Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.002502/0.002502, allocations: 93.47 kB / 20.21 MB, free: 4.215 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.002969/0.002969, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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 1.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.143/1.143, allocations: 115 MB / 375.3 MB, free: 7.574 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 3.125 kB / 480.7 MB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/3.033e-05, allocations: 4.25 kB / 480.7 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003272/0.003302, allocations: 1.57 MB / 482.3 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.004608, allocations: 0.6157 MB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.004681, allocations: 8.125 kB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.004793, allocations: 7.312 kB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.375e-05/0.004867, allocations: 21.73 kB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.005403, allocations: 110.4 kB / 483.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.005574, allocations: 100.1 kB / 483.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.00568, allocations: 10.83 kB / 483.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.005905, allocations: 77.02 kB / 483.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.006003, allocations: 37.53 kB / 483.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.006034, allocations: 6.25 kB / 483.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.006231, allocations: 88.91 kB / 483.4 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.006285, allocations: 20.47 kB / 483.4 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.00635, allocations: 33.11 kB / 483.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.006661, allocations: 164.1 kB / 483.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.006664, allocations: 0 / 483.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006665, allocations: 0 / 483.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.00667, allocations: 1.156 kB / 483.6 MB, free: 10.2 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007971/0.007467, allocations: 487.9 kB / 484.1 MB, free: 9.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.00751, allocations: 10.94 kB / 484.1 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004099/0.00792, allocations: 41.06 kB / 484.1 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.008126, allocations: 149.3 kB / 484.3 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.008141, allocations: 3.75 kB / 484.3 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.008165, allocations: 3.625 kB / 484.3 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.008489, allocations: 84.06 kB / 484.4 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.0085, allocations: 192 / 484.4 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.008517, allocations: 1.844 kB / 484.4 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.008549, allocations: 10.67 kB / 484.4 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.0089, allocations: 58.22 kB / 484.4 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007042/0.009605, allocations: 331.9 kB / 484.7 MB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.009944, allocations: 70.28 kB / 484.8 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.01014, allocations: 50.56 kB / 484.9 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.01016, allocations: 2.75 kB / 484.9 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.01046, allocations: 101.5 kB / 485 MB, free: 9.102 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.01046, allocations: 0 / 485 MB, free: 9.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000738/0.0112, allocations: 151.3 kB / 485.1 MB, free: 9.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.01122, allocations: 54.19 kB / 485.2 MB, free: 8.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.01156, allocations: 211.7 kB / 485.4 MB, free: 24.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.01158, allocations: 28.39 kB / 485.4 MB, free: 24.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.01169, allocations: 151.4 kB / 485.5 MB, free: 24.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.01173, allocations: 32.53 kB / 485.6 MB, free: 24.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.509e-05/0.01182, allocations: 40.14 kB / 485.6 MB, free: 24.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.0121, allocations: 0.5042 MB / 486.1 MB, free: 24.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.01232, allocations: 65.36 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.01251, allocations: 63.89 kB / 486.2 MB, free: 23.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.01288, allocations: 112.6 kB / 486.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.01289, allocations: 0 / 486.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005534/0.01344, allocations: 192.9 kB / 486.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.01347, allocations: 31.11 kB / 486.6 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01348, allocations: 0 / 486.6 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.0135, allocations: 2.25 kB / 486.6 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.0137, allocations: 18.72 kB / 486.6 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.0137, allocations: 4.188 kB / 486.6 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.01388, allocations: 15.66 kB / 486.6 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.0139, allocations: 2.188 kB / 486.6 MB, free: 23.76 MB / 426.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.0001463/0.01404, allocations: 169.7 kB / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.01408, allocations: 20.61 kB / 486.8 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.01413, allocations: 11.81 kB / 486.8 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.01415, allocations: 6.906 kB / 486.8 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01415, allocations: 2.031 kB / 486.8 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01416, allocations: 3.375 kB / 486.8 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.01432, allocations: 152.8 kB / 487 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01432, allocations: 0.5625 kB / 487 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.01446, allocations: 11.14 kB / 487 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01446, allocations: 1.031 kB / 487 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.01448, allocations: 4.984 kB / 487 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01448, allocations: 0.5 kB / 487 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01448, allocations: 1.266 kB / 487 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.01497, allocations: 177.4 kB / 487.2 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.015, allocations: 7.906 kB / 487.2 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.01503, allocations: 7.5 kB / 487.2 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.01517, allocations: 9.766 kB / 487.2 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.01525, allocations: 14.06 kB / 487.2 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.01527, allocations: 2.875 kB / 487.2 MB, free: 23.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.01541, allocations: 154.4 kB / 487.4 MB, free: 23.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.01541, allocations: 1.438 kB / 487.4 MB, free: 23.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004498/0.01586, allocations: 41.28 kB / 487.4 MB, free: 23.14 MB / 426.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.0002221/0.01609, allocations: 117.1 kB / 487.5 MB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.01661, allocations: 181 kB / 487.7 MB, free: 22.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01661, allocations: 1.25 kB / 487.7 MB, free: 22.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.01685, allocations: 55.23 kB / 487.8 MB, free: 22.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.01718, allocations: 19.12 kB / 487.8 MB, free: 22.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.01781, allocations: 218.3 kB / 488 MB, free: 22.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.97e-05/0.01789, allocations: 87.52 kB / 488.1 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.765e-05/0.01799, allocations: 12.03 kB / 488.1 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.01805, allocations: 19.66 kB / 488.1 MB, free: 22.64 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01805, allocations: 0 / 488.1 MB, free: 22.64 MB / 426.7 MB Notification: Performance of Templates: time 0.006476/0.02453, allocations: 1.492 MB / 489.6 MB, free: 22.55 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.815030733007006]