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.001024/0.001024, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001156/0.001156, allocations: 169 kB / 24.05 MB, free: 452 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.5839/0.5839, allocations: 115 MB / 376 MB, free: 7.504 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 2.074e-06/2.074e-06, allocations: 0 / 481.9 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.607e-05, allocations: 2.312 kB / 481.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002357/0.002383, allocations: 1.593 MB / 483.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.003359, allocations: 0.6254 MB / 484.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.562e-05/0.003435, allocations: 1.625 kB / 484.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.003538, allocations: 12.69 kB / 484.2 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.003587, allocations: 17.38 kB / 484.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.004024, allocations: 110.1 kB / 484.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.004169, allocations: 101.2 kB / 484.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.004261, allocations: 13.22 kB / 484.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.004431, allocations: 67.75 kB / 484.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.004498, allocations: 38.95 kB / 484.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.004518, allocations: 6.438 kB / 484.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.004651, allocations: 97.81 kB / 484.6 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.004694, allocations: 19.06 kB / 484.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.004731, allocations: 30.23 kB / 484.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.004903, allocations: 147.6 kB / 484.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004905, allocations: 0.8125 kB / 484.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004906, allocations: 0 / 484.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.00491, allocations: 1.656 kB / 484.8 MB, free: 10.02 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.0004366/0.005346, allocations: 484 kB / 485.3 MB, free: 9.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.005383, allocations: 8.969 kB / 485.3 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.005541, allocations: 35.78 kB / 485.3 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.005668, allocations: 147 kB / 485.5 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.005679, allocations: 10.84 kB / 485.5 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.005691, allocations: 5.812 kB / 485.5 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.005821, allocations: 79.39 kB / 485.6 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.005828, allocations: 2.375 kB / 485.6 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.005837, allocations: 3.703 kB / 485.6 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.005858, allocations: 8.281 kB / 485.6 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.005895, allocations: 20.56 kB / 485.6 MB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.006195, allocations: 293.2 kB / 485.9 MB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.242e-05/0.006257, allocations: 35.5 kB / 485.9 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.006283, allocations: 18.8 kB / 485.9 MB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.006297, allocations: 10.69 kB / 485.9 MB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.245e-05/0.006389, allocations: 84.94 kB / 486 MB, free: 8.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.00639, allocations: 0 / 486 MB, free: 8.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000175/0.006565, allocations: 82.47 kB / 486.1 MB, free: 8.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.006585, allocations: 55 kB / 486.2 MB, free: 8.855 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.006827, allocations: 200.3 kB / 486.3 MB, free: 24.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.00684, allocations: 28.23 kB / 486.4 MB, free: 24.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.006894, allocations: 153.8 kB / 486.5 MB, free: 24.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.006908, allocations: 27.33 kB / 486.6 MB, free: 24.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.006946, allocations: 35.19 kB / 486.6 MB, free: 24.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.00706, allocations: 0.4914 MB / 487.1 MB, free: 23.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.425e-05/0.007095, allocations: 39.61 kB / 487.1 MB, free: 23.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.007122, allocations: 41.69 kB / 487.2 MB, free: 23.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.004e-05/0.007182, allocations: 67.31 kB / 487.2 MB, free: 23.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007184, allocations: 7.312 kB / 487.2 MB, free: 23.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001196/0.007304, allocations: 143 kB / 487.4 MB, free: 23.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.007323, allocations: 31.42 kB / 487.4 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.007328, allocations: 1.516 kB / 487.4 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.007338, allocations: 0 / 487.4 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.007412, allocations: 27.47 kB / 487.4 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-06/0.007415, allocations: 5.266 kB / 487.4 MB, free: 23.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.00747, allocations: 15.98 kB / 487.4 MB, free: 23.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.007479, allocations: 3.375 kB / 487.5 MB, free: 23.67 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 7.425e-05/0.007554, allocations: 166.9 kB / 487.6 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.007571, allocations: 17.34 kB / 487.6 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.007596, allocations: 11.47 kB / 487.6 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.007605, allocations: 3.781 kB / 487.6 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.007608, allocations: 3.469 kB / 487.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007612, allocations: 1.25 kB / 487.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.259e-05/0.007694, allocations: 117.8 kB / 487.8 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.007697, allocations: 4.547 kB / 487.8 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.007732, allocations: 16.98 kB / 487.8 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007734, allocations: 5.188 kB / 487.8 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.00774, allocations: 0 / 487.8 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.007742, allocations: 3.5 kB / 487.8 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007742, allocations: 0 / 487.8 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.007846, allocations: 115 kB / 487.9 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.007857, allocations: 20.06 kB / 487.9 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.007872, allocations: 1.469 kB / 487.9 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.007913, allocations: 11.7 kB / 487.9 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.00795, allocations: 13.12 kB / 488 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.007957, allocations: 6.156 kB / 488 MB, free: 23.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.907e-05/0.008006, allocations: 143.1 kB / 488.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008006, allocations: 0 / 488.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.008183, allocations: 42.42 kB / 488.1 MB, free: 23.11 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.0001084/0.008291, allocations: 121.9 kB / 488.3 MB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.008411, allocations: 129.7 kB / 488.4 MB, free: 22.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.008412, allocations: 0 / 488.4 MB, free: 22.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.008451, allocations: 32.31 kB / 488.4 MB, free: 22.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.008593, allocations: 22.75 kB / 488.4 MB, free: 22.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.009008, allocations: 214.1 kB / 488.7 MB, free: 22.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.925e-05/0.009037, allocations: 63.67 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.679e-05/0.009074, allocations: 13.25 kB / 488.7 MB, free: 22.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.009141, allocations: 84.69 kB / 488.8 MB, free: 22.56 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009142, allocations: 0.7812 kB / 488.8 MB, free: 22.56 MB / 426.7 MB Notification: Performance of Templates: time 0.003113/0.01226, allocations: 1.621 MB / 490.4 MB, free: 22.45 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.374179566744715]