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.001175/0.001175, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001651/0.002825, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001077/0.001077, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.0025, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8904/0.8904, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07683/0.9672, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.589/0.589, allocations: 120.1 MB / 364.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06377/0.6528, allocations: 38.16 MB / 402.4 MB, free: 12.29 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.382e-06/1.382e-06, allocations: 0 / 403.7 MB, free: 11 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.953e-05, allocations: 6.25 kB / 403.7 MB, free: 11 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002371/0.002391, allocations: 1.65 MB / 405.3 MB, free: 9.332 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008818/0.003272, allocations: 0.6309 MB / 406 MB, free: 8.695 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.003333, allocations: 4 kB / 406 MB, free: 8.691 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.368e-05/0.003397, allocations: 7.875 kB / 406 MB, free: 8.684 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.00344, allocations: 19.8 kB / 406 MB, free: 8.664 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.003779, allocations: 111.5 kB / 406.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.003939, allocations: 99.66 kB / 406.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.00402, allocations: 12.22 kB / 406.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.004194, allocations: 79.73 kB / 406.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/0.004269, allocations: 39.88 kB / 406.3 MB, free: 8.324 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.004288, allocations: 8 kB / 406.3 MB, free: 8.316 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.004449, allocations: 95.91 kB / 406.4 MB, free: 8.223 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.004491, allocations: 15.94 kB / 406.4 MB, free: 8.207 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.004525, allocations: 19.94 kB / 406.5 MB, free: 8.188 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.00471, allocations: 131.5 kB / 406.6 MB, free: 8.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.004722, allocations: 0 / 406.6 MB, free: 8.059 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004722, allocations: 0 / 406.6 MB, free: 8.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.004733, allocations: 0 / 406.6 MB, free: 8.059 MB / 394.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.0005385/0.005272, allocations: 369.8 kB / 407 MB, free: 7.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.005302, allocations: 12.03 kB / 407 MB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.005521, allocations: 110 kB / 407.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.005669, allocations: 133.6 kB / 407.2 MB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.00568, allocations: 12.38 kB / 407.2 MB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.005696, allocations: 4.375 kB / 407.2 MB, free: 7.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.005859, allocations: 89.66 kB / 407.3 MB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.005867, allocations: 4.125 kB / 407.3 MB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.005876, allocations: 384 / 407.3 MB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.005899, allocations: 11.92 kB / 407.3 MB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.005937, allocations: 11.94 kB / 407.3 MB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.006266, allocations: 209.7 kB / 407.5 MB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.006347, allocations: 70.48 kB / 407.6 MB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.006579, allocations: 20.84 kB / 407.6 MB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.006592, allocations: 0 / 407.6 MB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.006717, allocations: 82.25 kB / 407.7 MB, free: 6.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 4.148e-06/0.006721, allocations: 0 / 407.7 MB, free: 6.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001531/0.006875, allocations: 69.61 kB / 407.8 MB, free: 6.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.006901, allocations: 51.41 kB / 407.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.006985, allocations: 142.6 kB / 408 MB, free: 6.527 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.007002, allocations: 29.7 kB / 408 MB, free: 6.492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.007045, allocations: 100.1 kB / 408.1 MB, free: 6.391 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.007066, allocations: 31.78 kB / 408.1 MB, free: 6.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.007113, allocations: 33.62 kB / 408.2 MB, free: 6.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.007195, allocations: 322.8 kB / 408.5 MB, free: 5.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.532e-05/0.007241, allocations: 40.53 kB / 408.5 MB, free: 5.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.249e-05/0.007273, allocations: 37.69 kB / 408.5 MB, free: 5.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.622e-05/0.007349, allocations: 76.23 kB / 408.6 MB, free: 5.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.007351, allocations: 0 / 408.6 MB, free: 5.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001223/0.007474, allocations: 129 kB / 408.7 MB, free: 5.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.007507, allocations: 33.7 kB / 408.8 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.007513, allocations: 0 / 408.8 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.007525, allocations: 0 / 408.8 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.007618, allocations: 31.97 kB / 408.8 MB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.007621, allocations: 0 / 408.8 MB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.007693, allocations: 15.94 kB / 408.8 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.007702, allocations: 0 / 408.8 MB, free: 5.59 MB / 394.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 6.866e-05/0.007771, allocations: 120.7 kB / 408.9 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.007789, allocations: 11.92 kB / 409 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.007814, allocations: 12.78 kB / 409 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.007827, allocations: 7.984 kB / 409 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.007829, allocations: 0 / 409 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.007833, allocations: 7.984 kB / 409 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.303e-05/0.007926, allocations: 85.81 kB / 409.1 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.007928, allocations: 0 / 409.1 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.007981, allocations: 19.92 kB / 409.1 MB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.007994, allocations: 19.84 kB / 409.1 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.007997, allocations: 4 kB / 409.1 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.008006, allocations: 3.984 kB / 409.1 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008007, allocations: 0 / 409.1 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008008, allocations: 0 / 409.1 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.008116, allocations: 90.75 kB / 409.2 MB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.008136, allocations: 3.938 kB / 409.2 MB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.156e-05/0.008188, allocations: 19.98 kB / 409.2 MB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.00823, allocations: 15.91 kB / 409.2 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.008236, allocations: 0 / 409.2 MB, free: 5.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.033e-05/0.008266, allocations: 33.58 kB / 409.3 MB, free: 5.086 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008266, allocations: 0 / 409.3 MB, free: 5.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.008452, allocations: 35.94 kB / 409.3 MB, free: 5.051 MB / 394.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.0001395/0.008591, allocations: 104.4 kB / 409.4 MB, free: 4.941 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.008738, allocations: 129.9 kB / 409.5 MB, free: 4.793 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.008744, allocations: 4 kB / 409.5 MB, free: 4.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.008796, allocations: 28.78 kB / 409.6 MB, free: 4.758 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.008934, allocations: 83.31 kB / 409.7 MB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.009933, allocations: 218.6 kB / 409.9 MB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.494e-05/0.009968, allocations: 63.34 kB / 409.9 MB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.82e-05/0.01002, allocations: 11.86 kB / 409.9 MB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.01009, allocations: 67.3 kB / 410 MB, free: 4.258 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01009, allocations: 0 / 410 MB, free: 4.258 MB / 394.7 MB Notification: Performance of Templates: time 0.003323/0.01342, allocations: 1.505 MB / 411.5 MB, free: 2.754 MB / 394.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.049090676009655]