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.000977/0.000977, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.0009583/0.0009583, allocations: 169 kB / 24.14 MB, free: 360 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 1.016/1.016, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5964/0.5964, allocations: 115 MB / 376 MB, free: 7.484 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 1.332e-06/1.332e-06, allocations: 0 / 428.7 MB, free: 2.855 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.445e-05, allocations: 2.312 kB / 428.7 MB, free: 2.852 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001755/0.001769, allocations: 1.583 MB / 430.3 MB, free: 1.254 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.002522, allocations: 0.6464 MB / 430.9 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.002576, allocations: 4 kB / 430.9 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 9.185e-05/0.002668, allocations: 7.875 kB / 430.9 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.002707, allocations: 15.8 kB / 430.9 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.003053, allocations: 119.6 kB / 431 MB, free: 468 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.00318, allocations: 99.62 kB / 431.1 MB, free: 368 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.756e-05/0.003258, allocations: 12.23 kB / 431.2 MB, free: 352 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.003401, allocations: 71.8 kB / 431.2 MB, free: 280 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.003461, allocations: 23.97 kB / 431.2 MB, free: 256 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.00348, allocations: 11.98 kB / 431.3 MB, free: 244 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.003588, allocations: 99.72 kB / 431.4 MB, free: 144 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.003626, allocations: 19.92 kB / 431.4 MB, free: 124 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.003662, allocations: 35.89 kB / 431.4 MB, free: 88 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.003841, allocations: 143.6 kB / 431.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003842, allocations: 4 kB / 431.6 MB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003843, allocations: 0 / 431.6 MB, free: 15.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.003846, allocations: 0 / 431.6 MB, free: 15.94 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.0003976/0.004244, allocations: 346.1 kB / 431.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.004281, allocations: 12.03 kB / 431.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.004438, allocations: 32.91 kB / 431.9 MB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.004565, allocations: 133.6 kB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.004573, allocations: 4.375 kB / 432.1 MB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.004585, allocations: 12.31 kB / 432.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.004714, allocations: 93.64 kB / 432.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-06/0.004719, allocations: 192 / 432.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.004728, allocations: 4.375 kB / 432.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.004754, allocations: 11.94 kB / 432.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.00479, allocations: 11.98 kB / 432.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.005054, allocations: 193.9 kB / 432.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.905e-05/0.005123, allocations: 78.41 kB / 432.5 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.005144, allocations: 16.86 kB / 432.5 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.005154, allocations: 0 / 432.5 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.194e-05/0.005246, allocations: 86.2 kB / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.005247, allocations: 0 / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001243/0.005372, allocations: 73.59 kB / 432.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.0054, allocations: 51.41 kB / 432.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.005466, allocations: 138.6 kB / 432.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.005481, allocations: 33.7 kB / 432.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.005519, allocations: 100 kB / 433 MB, free: 14.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.005534, allocations: 27.78 kB / 433 MB, free: 14.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.005568, allocations: 25.7 kB / 433 MB, free: 14.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.005638, allocations: 326.8 kB / 433.3 MB, free: 14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.005673, allocations: 44.52 kB / 433.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.005705, allocations: 37.64 kB / 433.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/0.005762, allocations: 68.23 kB / 433.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.005764, allocations: 4.109 kB / 433.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.091e-05/0.005855, allocations: 129 kB / 433.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.005875, allocations: 33.69 kB / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.00588, allocations: 0 / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.005887, allocations: 0 / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.005953, allocations: 27.92 kB / 433.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.005956, allocations: 0 / 433.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.281e-05/0.006009, allocations: 19.92 kB / 433.7 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.006018, allocations: 4 kB / 433.7 MB, free: 13.59 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 (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 5.852e-05/0.006077, allocations: 112.7 kB / 433.8 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.006089, allocations: 11.92 kB / 433.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.006114, allocations: 16.78 kB / 433.8 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.006126, allocations: 7.984 kB / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.006127, allocations: 0 / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.00613, allocations: 0 / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.532e-05/0.006206, allocations: 85.88 kB / 433.9 MB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006206, allocations: 0 / 433.9 MB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.006238, allocations: 11.98 kB / 433.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.00624, allocations: 3.938 kB / 433.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.006248, allocations: 7.984 kB / 433.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.00625, allocations: 3.938 kB / 433.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.00625, allocations: 0 / 433.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.583e-05/0.006336, allocations: 94.75 kB / 434 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.006345, allocations: 7.891 kB / 434 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.006363, allocations: 7.938 kB / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.0064, allocations: 19.98 kB / 434.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.006438, allocations: 11.97 kB / 434.1 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.006444, allocations: 4 kB / 434.1 MB, free: 13.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.004e-05/0.006464, allocations: 33.45 kB / 434.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006464, allocations: 0 / 434.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001269/0.006591, allocations: 43.95 kB / 434.2 MB, free: 13.06 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: 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.0001149/0.006706, allocations: 104.3 kB / 434.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.006826, allocations: 126.4 kB / 434.4 MB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.00683, allocations: 8 kB / 434.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.506e-05/0.006865, allocations: 24.94 kB / 434.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.155e-05/0.006957, allocations: 24.2 kB / 434.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.007363, allocations: 218.8 kB / 434.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.007398, allocations: 67.2 kB / 434.7 MB, free: 12.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.367e-05/0.007432, allocations: 15.97 kB / 434.7 MB, free: 12.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.007492, allocations: 63.36 kB / 434.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007492, allocations: 0 / 434.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of Templates: time 0.002725/0.01022, allocations: 1.482 MB / 436.3 MB, free: 10.86 MB / 410.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: 3.375662562903017]