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.001588/0.001588, allocations: 74.12 kB / 19.93 MB, free: 1.77 MB / 14.72 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.00164/0.00164, allocations: 169 kB / 23.22 MB, free: 4.887 MB / 14.72 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.379/1.379, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 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.9369/0.9369, allocations: 114 MB / 373.9 MB, free: 13.26 MB / 350.1 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.423e-06/1.423e-06, allocations: 0 / 0.5546 GB, free: 2.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.55e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002629/0.002655, allocations: 1.548 MB / 0.5561 GB, free: 1.125 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.003862, allocations: 0.6154 MB / 0.5567 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.003941, allocations: 4 kB / 0.5567 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 9.946e-05/0.004041, allocations: 11.86 kB / 0.5568 GB, free: 500 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.004105, allocations: 15.8 kB / 0.5568 GB, free: 484 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.004579, allocations: 107.6 kB / 0.5569 GB, free: 376 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.004762, allocations: 107.6 kB / 0.557 GB, free: 268 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.004863, allocations: 16.17 kB / 0.557 GB, free: 248 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.005065, allocations: 59.88 kB / 0.557 GB, free: 188 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.005154, allocations: 39.89 kB / 0.5571 GB, free: 148 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.005182, allocations: 8 kB / 0.5571 GB, free: 140 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.005352, allocations: 95.83 kB / 0.5572 GB, free: 44 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.005404, allocations: 19.92 kB / 0.5572 GB, free: 24 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.005456, allocations: 23.92 kB / 0.5572 GB, free: 0 / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.00576, allocations: 171.6 kB / 0.5574 GB, free: 15.83 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005762, allocations: 0 / 0.5574 GB, free: 15.83 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005763, allocations: 0 / 0.5574 GB, free: 15.83 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005767, allocations: 0 / 0.5574 GB, free: 15.83 MB / 478.1 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.0008036/0.006571, allocations: 395.4 kB / 0.5578 GB, free: 15.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.00661, allocations: 8.625 kB / 0.5578 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.006891, allocations: 32.86 kB / 0.5578 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.007129, allocations: 140.1 kB / 0.5579 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.007144, allocations: 4.375 kB / 0.5579 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.007165, allocations: 4.375 kB / 0.5579 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.007487, allocations: 106.1 kB / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.007497, allocations: 8.125 kB / 0.5581 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.00751, allocations: 384 / 0.5581 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.007532, allocations: 11.92 kB / 0.5581 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.007872, allocations: 91.86 kB / 0.5582 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.008483, allocations: 272.4 kB / 0.5584 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.008812, allocations: 90.5 kB / 0.5585 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.009001, allocations: 60.81 kB / 0.5586 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.009019, allocations: 0 / 0.5586 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.009321, allocations: 115.3 kB / 0.5587 GB, free: 14.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.009323, allocations: 0 / 0.5587 GB, free: 14.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.000694/0.01002, allocations: 209.4 kB / 0.5589 GB, free: 14.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.01006, allocations: 55.41 kB / 0.5589 GB, free: 14.12 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.01019, allocations: 144.2 kB / 0.5591 GB, free: 13.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.01022, allocations: 29.7 kB / 0.5591 GB, free: 13.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.01029, allocations: 104.1 kB / 0.5592 GB, free: 13.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.01032, allocations: 31.73 kB / 0.5592 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-05/0.01039, allocations: 29.77 kB / 0.5592 GB, free: 13.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.01052, allocations: 322.8 kB / 0.5596 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.01074, allocations: 89.64 kB / 0.5596 GB, free: 13.35 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.01095, allocations: 81.66 kB / 0.5597 GB, free: 13.26 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.01133, allocations: 153.4 kB / 0.5599 GB, free: 13.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01133, allocations: 4 kB / 0.5599 GB, free: 13.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005059/0.01184, allocations: 221 kB / 0.5601 GB, free: 12.87 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.01188, allocations: 38.17 kB / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01189, allocations: 0 / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.0119, allocations: 0 / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.01204, allocations: 19.97 kB / 0.5601 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01205, allocations: 4 kB / 0.5601 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.01219, allocations: 27.81 kB / 0.5602 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.0122, allocations: 4 kB / 0.5602 GB, free: 12.77 MB / 478.1 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.0001095/0.01231, allocations: 129.6 kB / 0.5603 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.01234, allocations: 11.95 kB / 0.5603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.01237, allocations: 12.78 kB / 0.5603 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.01239, allocations: 7.984 kB / 0.5603 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01239, allocations: 0 / 0.5603 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01239, allocations: 0 / 0.5603 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.01255, allocations: 133.2 kB / 0.5604 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01255, allocations: 4 kB / 0.5605 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.01266, allocations: 19.97 kB / 0.5605 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01266, allocations: 4 kB / 0.5605 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.01268, allocations: 4 kB / 0.5605 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.01268, allocations: 0 / 0.5605 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01268, allocations: 0 / 0.5605 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.01315, allocations: 192.8 kB / 0.5607 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.01316, allocations: 7.953 kB / 0.5607 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.01319, allocations: 4 kB / 0.5607 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.01331, allocations: 15.97 kB / 0.5607 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.01337, allocations: 11.98 kB / 0.5607 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.01339, allocations: 7.984 kB / 0.5607 GB, free: 12.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.983e-05/0.01347, allocations: 103.3 kB / 0.5608 GB, free: 12.06 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01347, allocations: 3.938 kB / 0.5608 GB, free: 12.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.01372, allocations: 39.94 kB / 0.5608 GB, free: 12.02 MB / 478.1 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.0001921/0.01391, allocations: 115.2 kB / 0.561 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005118/0.01442, allocations: 216.8 kB / 0.5612 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01442, allocations: 0 / 0.5612 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.01463, allocations: 63.88 kB / 0.5612 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.01485, allocations: 21.77 kB / 0.5612 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.01538, allocations: 233.5 kB / 0.5615 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.01546, allocations: 85.44 kB / 0.5616 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.394e-05/0.01552, allocations: 11.98 kB / 0.5616 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.01557, allocations: 12.5 kB / 0.5616 GB, free: 11.2 MB / 478.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01557, allocations: 4 kB / 0.5616 GB, free: 11.2 MB / 478.1 MB Notification: Performance of Templates: time 0.004605/0.02018, allocations: 1.477 MB / 0.563 GB, free: 9.746 MB / 478.1 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.041538737714291] Failed to read output from testmodel.py, exit status != 0: 0.028732188045978546 0.043442021000000004 0.034725052 Calling exit ...