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.0009904/0.0009904, allocations: 96.2 kB / 20.43 MB, free: 4.133 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.001116/0.001116, allocations: 169 kB / 23.8 MB, free: 0.7656 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.01/1.01, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.5963/0.5963, allocations: 115 MB / 375.7 MB, free: 7.656 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.643e-06/1.643e-06, allocations: 0 / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.137e-05, allocations: 7.5 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002324/0.002345, allocations: 1.593 MB / 483.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009866/0.003332, allocations: 0.6289 MB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.003401, allocations: 5.875 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.003511, allocations: 4.875 kB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.13e-05/0.003573, allocations: 30.83 kB / 483.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.00405, allocations: 105.4 kB / 483.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.004215, allocations: 101.5 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.004317, allocations: 14.17 kB / 483.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.004515, allocations: 75.11 kB / 484 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/0.004595, allocations: 27.75 kB / 484 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.004621, allocations: 8.062 kB / 484 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.004772, allocations: 96.02 kB / 484.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.004817, allocations: 24.59 kB / 484.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.004867, allocations: 24.84 kB / 484.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.005104, allocations: 154.8 kB / 484.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005107, allocations: 0 / 484.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005107, allocations: 0.6875 kB / 484.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005111, allocations: 1.094 kB / 484.3 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.0005912/0.005703, allocations: 478.5 kB / 484.8 MB, free: 9.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.005742, allocations: 10.25 kB / 484.8 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.005973, allocations: 33.52 kB / 484.9 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.006142, allocations: 146.6 kB / 485 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.006158, allocations: 10.92 kB / 485 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.006177, allocations: 8.469 kB / 485 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.006384, allocations: 82.11 kB / 485.1 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.006393, allocations: 1.281 kB / 485.1 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.006406, allocations: 2.438 kB / 485.1 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.006435, allocations: 8.031 kB / 485.1 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.006509, allocations: 21.59 kB / 485.1 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.006983, allocations: 317.3 kB / 485.4 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.007094, allocations: 42.84 kB / 485.5 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.00714, allocations: 19.06 kB / 485.5 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.007154, allocations: 1.344 kB / 485.5 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.007293, allocations: 91.66 kB / 485.6 MB, free: 9.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.007295, allocations: 0 / 485.6 MB, free: 9.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002633/0.007558, allocations: 83.11 kB / 485.7 MB, free: 9.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.007588, allocations: 64.81 kB / 485.7 MB, free: 9.008 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.007837, allocations: 193.7 kB / 485.9 MB, free: 24.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.007853, allocations: 32.08 kB / 486 MB, free: 24.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.007919, allocations: 151.1 kB / 486.1 MB, free: 24.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.007946, allocations: 24.03 kB / 486.1 MB, free: 24.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.008, allocations: 39.75 kB / 486.2 MB, free: 24.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.008123, allocations: 0.4943 MB / 486.7 MB, free: 24.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.008186, allocations: 39.77 kB / 486.7 MB, free: 24.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.008234, allocations: 45.8 kB / 486.7 MB, free: 24.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.00833, allocations: 69.84 kB / 486.8 MB, free: 23.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.008333, allocations: 2.781 kB / 486.8 MB, free: 23.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001993/0.008532, allocations: 143.2 kB / 487 MB, free: 23.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.008562, allocations: 39.3 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.008568, allocations: 0 / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.008582, allocations: 2.375 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.008709, allocations: 15.88 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.008714, allocations: 1.406 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.023e-05/0.008805, allocations: 15.5 kB / 487 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.008821, allocations: 5.547 kB / 487 MB, free: 23.83 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.0001192/0.008941, allocations: 170 kB / 487.2 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.008969, allocations: 17.09 kB / 487.2 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.009, allocations: 14.67 kB / 487.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.009015, allocations: 5.438 kB / 487.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.009021, allocations: 5.375 kB / 487.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.009025, allocations: 0 / 487.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.009137, allocations: 151.1 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.009139, allocations: 0 / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.009208, allocations: 12.67 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.00921, allocations: 1 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.009223, allocations: 1.531 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.009225, allocations: 3.938 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009226, allocations: 1.969 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.009413, allocations: 123.9 kB / 487.5 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.009429, allocations: 11.41 kB / 487.5 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.009455, allocations: 3.75 kB / 487.5 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.009536, allocations: 11.97 kB / 487.6 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.009597, allocations: 15.52 kB / 487.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.009609, allocations: 5.156 kB / 487.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.522e-05/0.009685, allocations: 147.2 kB / 487.7 MB, free: 23.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009685, allocations: 2.75 kB / 487.7 MB, free: 23.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.009952, allocations: 39.45 kB / 487.8 MB, free: 23.23 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.0001638/0.01012, allocations: 118.9 kB / 487.9 MB, free: 23.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.01032, allocations: 142.5 kB / 488 MB, free: 23.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01033, allocations: 0 / 488 MB, free: 23.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.0104, allocations: 33.55 kB / 488 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.01062, allocations: 19.31 kB / 488.1 MB, free: 22.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/0.01129, allocations: 217.4 kB / 488.3 MB, free: 22.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.313e-05/0.01133, allocations: 66.81 kB / 488.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.616e-05/0.01139, allocations: 13.53 kB / 488.4 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.01144, allocations: 14.03 kB / 488.4 MB, free: 22.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01144, allocations: 1.562 kB / 488.4 MB, free: 22.75 MB / 426.7 MB Notification: Performance of Templates: time 0.003642/0.01508, allocations: 1.596 MB / 490 MB, free: 22.64 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: 3.3564496021717787]