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.001271/0.001271, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.001464/0.001464, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8831/0.8831, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.5375/0.5375, allocations: 114 MB / 374.7 MB, free: 8.727 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.603e-06/1.603e-06, allocations: 0 / 0.5554 GB, free: 1.301 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.2e-05, allocations: 2.281 kB / 0.5554 GB, free: 1.297 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001923/0.001945, allocations: 1.542 MB / 0.5569 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.002742, allocations: 0.6154 MB / 0.5575 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.002803, allocations: 4 kB / 0.5575 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.573e-05/0.002899, allocations: 15.86 kB / 0.5575 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.788e-05/0.002947, allocations: 19.8 kB / 0.5575 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.003364, allocations: 107.6 kB / 0.5576 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.0035, allocations: 103.6 kB / 0.5577 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.003595, allocations: 8.234 kB / 0.5577 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.003754, allocations: 71.73 kB / 0.5578 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.003821, allocations: 39.91 kB / 0.5578 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.00384, allocations: 8 kB / 0.5578 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.003957, allocations: 95.83 kB / 0.5579 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.004, allocations: 19.91 kB / 0.5579 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.00404, allocations: 23.97 kB / 0.558 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.004247, allocations: 171.5 kB / 0.5581 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00425, allocations: 0 / 0.5581 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004251, allocations: 0 / 0.5581 GB, free: 14.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.004255, allocations: 0 / 0.5581 GB, free: 14.45 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.0005322/0.004787, allocations: 387.4 kB / 0.5585 GB, free: 14.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.004821, allocations: 12.62 kB / 0.5585 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.004982, allocations: 28.86 kB / 0.5585 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.005169, allocations: 139.5 kB / 0.5587 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.005182, allocations: 8.375 kB / 0.5587 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.005195, allocations: 4.375 kB / 0.5587 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.005399, allocations: 106.1 kB / 0.5588 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.005407, allocations: 4.188 kB / 0.5588 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.005417, allocations: 384 / 0.5588 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.005437, allocations: 15.86 kB / 0.5588 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.005604, allocations: 91.86 kB / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.006018, allocations: 280.4 kB / 0.5592 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.006193, allocations: 90.45 kB / 0.5592 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.705e-05/0.00628, allocations: 56.81 kB / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.006294, allocations: 4 kB / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.006473, allocations: 107.3 kB / 0.5594 GB, free: 13.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.006474, allocations: 0 / 0.5594 GB, free: 13.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.000371/0.006845, allocations: 213.4 kB / 0.5596 GB, free: 12.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.006876, allocations: 51.41 kB / 0.5597 GB, free: 12.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.006962, allocations: 151.1 kB / 0.5598 GB, free: 12.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.006976, allocations: 25.7 kB / 0.5598 GB, free: 12.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.007023, allocations: 100.1 kB / 0.5599 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.007041, allocations: 31.8 kB / 0.5599 GB, free: 12.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.007084, allocations: 29.7 kB / 0.56 GB, free: 12.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.337e-05/0.007157, allocations: 330.8 kB / 0.5603 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.007268, allocations: 81.66 kB / 0.5604 GB, free: 11.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.007361, allocations: 89.27 kB / 0.5605 GB, free: 11.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.007548, allocations: 146.4 kB / 0.5606 GB, free: 11.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00755, allocations: 4 kB / 0.5606 GB, free: 11.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002498/0.0078, allocations: 225 kB / 0.5608 GB, free: 11.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.007832, allocations: 39.27 kB / 0.5609 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.007837, allocations: 0 / 0.5609 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.007848, allocations: 0 / 0.5609 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.007926, allocations: 23.91 kB / 0.5609 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.00793, allocations: 0 / 0.5609 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.007995, allocations: 27.88 kB / 0.5609 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.008006, allocations: 3.984 kB / 0.5609 GB, free: 11.39 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 7.025e-05/0.008076, allocations: 122.2 kB / 0.561 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.008087, allocations: 7.953 kB / 0.561 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.00811, allocations: 20.77 kB / 0.561 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.008118, allocations: 7.938 kB / 0.5611 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.008122, allocations: 0 / 0.5611 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.008124, allocations: 0 / 0.5611 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.217e-05/0.008217, allocations: 133.2 kB / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008218, allocations: 8 kB / 0.5612 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.008266, allocations: 19.97 kB / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.008268, allocations: 0 / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.008277, allocations: 8 kB / 0.5612 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.008278, allocations: 0 / 0.5612 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008279, allocations: 0 / 0.5612 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.008503, allocations: 188.8 kB / 0.5614 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.008514, allocations: 11.95 kB / 0.5614 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.008529, allocations: 3.984 kB / 0.5614 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.855e-05/0.008578, allocations: 15.98 kB / 0.5614 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.008621, allocations: 15.92 kB / 0.5614 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.008629, allocations: 3.984 kB / 0.5614 GB, free: 10.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.578e-05/0.008675, allocations: 104.8 kB / 0.5615 GB, free: 10.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008675, allocations: 0 / 0.5615 GB, free: 10.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.008846, allocations: 43.94 kB / 0.5616 GB, free: 10.63 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.0001396/0.008986, allocations: 123.2 kB / 0.5617 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.009256, allocations: 205.2 kB / 0.5619 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.009257, allocations: 0 / 0.5619 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.721e-05/0.009354, allocations: 67.88 kB / 0.562 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.009508, allocations: 15.92 kB / 0.562 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.00988, allocations: 251.3 kB / 0.5622 GB, free: 9.918 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.424e-05/0.009934, allocations: 89.44 kB / 0.5623 GB, free: 9.812 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.009979, allocations: 16.67 kB / 0.5623 GB, free: 9.797 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.00998, allocations: 0 / 0.5623 GB, free: 9.797 MB / 490.7 MB Notification: Performance of Templates: time 0.002281/0.01226, allocations: 1.597 MB / 0.5639 GB, free: 8.215 MB / 490.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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.035496491938829] Failed to read output from testmodel.py, exit status != 0: 0.017773265950381756 0.025689586 0.019768855000000002 Calling exit ...