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.001438/0.001438, allocations: 92.72 kB / 20.21 MB, free: 4.227 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.00162/0.00162, allocations: 157.7 kB / 23.52 MB, free: 0.9219 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.519/1.519, allocations: 177.2 MB / 203.9 MB, free: 5.598 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 0.9425/0.9425, allocations: 115 MB / 375.3 MB, free: 7.547 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.593e-06/1.593e-06, allocations: 0 / 480.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.765e-05, allocations: 4.844 kB / 480.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002174/0.002202, allocations: 1.536 MB / 482.3 MB, free: 10.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009214/0.003123, allocations: 0.6095 MB / 482.9 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.003181, allocations: 0 / 482.9 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.003289, allocations: 21.94 kB / 482.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.535e-05/0.003334, allocations: 20.53 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.003721, allocations: 107.8 kB / 483 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.003855, allocations: 101.5 kB / 483.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.003943, allocations: 14.48 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.004103, allocations: 63.8 kB / 483.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.004178, allocations: 40.11 kB / 483.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.004201, allocations: 8.031 kB / 483.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.004326, allocations: 94.62 kB / 483.4 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.004379, allocations: 27.44 kB / 483.4 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.004429, allocations: 17.64 kB / 483.4 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.004647, allocations: 174.8 kB / 483.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004648, allocations: 0 / 483.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004649, allocations: 0.9688 kB / 483.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.004653, allocations: 0 / 483.6 MB, free: 10.24 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.0006571/0.00531, allocations: 383.9 kB / 483.9 MB, free: 9.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.005346, allocations: 10.28 kB / 484 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.005639, allocations: 41.64 kB / 484 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.005818, allocations: 140.2 kB / 484.1 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.005834, allocations: 6.781 kB / 484.1 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.005852, allocations: 6.688 kB / 484.1 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.006143, allocations: 107 kB / 484.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.006153, allocations: 192 / 484.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.006168, allocations: 5.797 kB / 484.3 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.00619, allocations: 10.48 kB / 484.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.006524, allocations: 88.75 kB / 484.3 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.00707, allocations: 276.9 kB / 484.6 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.007375, allocations: 88.06 kB / 484.7 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.007548, allocations: 64.88 kB / 484.8 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.007562, allocations: 1.25 kB / 484.8 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.007827, allocations: 113.3 kB / 484.9 MB, free: 9.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.007829, allocations: 2.094 kB / 484.9 MB, free: 9.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006873/0.008516, allocations: 215.5 kB / 485.1 MB, free: 9.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.008541, allocations: 55.59 kB / 485.1 MB, free: 9.191 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.008643, allocations: 140.5 kB / 485.3 MB, free: 9.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.00866, allocations: 30.83 kB / 485.3 MB, free: 9.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.008709, allocations: 99.27 kB / 485.4 MB, free: 8.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.008733, allocations: 27.23 kB / 485.4 MB, free: 8.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.008787, allocations: 28.44 kB / 485.5 MB, free: 8.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.009012, allocations: 331.3 kB / 485.8 MB, free: 24.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.009223, allocations: 85.2 kB / 485.9 MB, free: 24.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.009421, allocations: 84.59 kB / 486 MB, free: 24.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.009761, allocations: 149.1 kB / 486.1 MB, free: 24.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009763, allocations: 1.281 kB / 486.1 MB, free: 24.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00045/0.01021, allocations: 233.4 kB / 486.3 MB, free: 24.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.01025, allocations: 31.92 kB / 486.4 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.01025, allocations: 0 / 486.4 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.01027, allocations: 4.312 kB / 486.4 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.0104, allocations: 19.44 kB / 486.4 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.01041, allocations: 0.5312 kB / 486.4 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.01054, allocations: 30.94 kB / 486.4 MB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.01056, allocations: 3.5 kB / 486.4 MB, free: 24.26 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.000106/0.01066, allocations: 121.9 kB / 486.5 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.01069, allocations: 13.84 kB / 486.6 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.01072, allocations: 17.69 kB / 486.6 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.01073, allocations: 6.312 kB / 486.6 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01074, allocations: 0 / 486.6 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01074, allocations: 0 / 486.6 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.01084, allocations: 133.6 kB / 486.7 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01085, allocations: 1.094 kB / 486.7 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.01096, allocations: 21.05 kB / 486.7 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01096, allocations: 2.281 kB / 486.7 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01097, allocations: 0 / 486.7 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01097, allocations: 1.469 kB / 486.7 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01097, allocations: 1.047 kB / 486.7 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.0114, allocations: 202.2 kB / 486.9 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.01142, allocations: 16.25 kB / 486.9 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.01144, allocations: 5.359 kB / 486.9 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.01156, allocations: 17.28 kB / 487 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.01162, allocations: 13.61 kB / 487 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.01163, allocations: 3.141 kB / 487 MB, free: 23.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.719e-05/0.01172, allocations: 110.1 kB / 487.1 MB, free: 23.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01172, allocations: 0 / 487.1 MB, free: 23.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002455/0.01196, allocations: 40.44 kB / 487.1 MB, free: 23.76 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.0001756/0.01214, allocations: 116 kB / 487.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.01259, allocations: 206.6 kB / 487.4 MB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01259, allocations: 1.188 kB / 487.4 MB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.01279, allocations: 65.98 kB / 487.5 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.013, allocations: 16.14 kB / 487.5 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.01352, allocations: 237.7 kB / 487.8 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.495e-05/0.01359, allocations: 87.64 kB / 487.8 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.189e-05/0.01367, allocations: 17.53 kB / 487.9 MB, free: 23.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.01371, allocations: 12.81 kB / 487.9 MB, free: 23.27 MB / 426.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01371, allocations: 0 / 487.9 MB, free: 23.27 MB / 426.7 MB Notification: Performance of Templates: time 0.004471/0.01818, allocations: 1.483 MB / 489.4 MB, free: 23.19 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5067418770631775]