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.001382/0.001382, allocations: 105.2 kB / 20.45 MB, free: 1.5 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.001752/0.001752, allocations: 219.2 kB / 23.76 MB, free: 4.711 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 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.969/0.969, allocations: 150 MB / 463.9 MB, free: 10.96 MB / 366.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.86 kB / 0.6425 GB, free: 10.22 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2128, allocations: 89.17 MB / 0.7295 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003136/0.2159, allocations: 1.575 MB / 0.7311 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2171, allocations: 0.6583 MB / 0.7317 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.2172, allocations: 0 / 0.7317 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.2173, allocations: 11.86 kB / 0.7317 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.2173, allocations: 19.81 kB / 0.7318 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.2178, allocations: 107.7 kB / 0.7319 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.218, allocations: 103.7 kB / 0.732 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2181, allocations: 12.22 kB / 0.732 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.2183, allocations: 47.84 kB / 0.732 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.2184, allocations: 55.75 kB / 0.7321 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.2184, allocations: 8 kB / 0.7321 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.2186, allocations: 95.84 kB / 0.7322 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.2187, allocations: 19.92 kB / 0.7322 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.2188, allocations: 39.78 kB / 0.7322 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.219, allocations: 159.4 kB / 0.7324 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.219, allocations: 0 / 0.7324 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.219, allocations: 0 / 0.7324 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.219, allocations: 4 kB / 0.7324 GB, free: 14.19 MB / 0.5606 GB 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.0007904/0.2198, allocations: 383.4 kB / 0.7327 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2198, allocations: 12.03 kB / 0.7328 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.2201, allocations: 36.81 kB / 0.7328 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.2204, allocations: 140.6 kB / 0.7329 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.2204, allocations: 12.38 kB / 0.7329 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.2204, allocations: 4.375 kB / 0.7329 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.2207, allocations: 109.9 kB / 0.733 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2207, allocations: 0 / 0.733 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2207, allocations: 0 / 0.733 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.2208, allocations: 4 kB / 0.733 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.2211, allocations: 95.89 kB / 0.7331 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.2218, allocations: 315.8 kB / 0.7334 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.2221, allocations: 90.44 kB / 0.7335 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.2223, allocations: 64.98 kB / 0.7336 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.2223, allocations: 3.938 kB / 0.7336 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003019/0.2226, allocations: 111.4 kB / 0.7337 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.2226, allocations: 0 / 0.7337 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0006654/0.2232, allocations: 213.4 kB / 0.7339 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.2233, allocations: 59.39 kB / 0.734 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2234, allocations: 143.5 kB / 0.7341 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.2235, allocations: 25.7 kB / 0.7341 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.2235, allocations: 104.1 kB / 0.7342 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.2236, allocations: 23.8 kB / 0.7342 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.2236, allocations: 29.7 kB / 0.7343 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.2238, allocations: 322.8 kB / 0.7346 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.224, allocations: 55.95 kB / 0.7346 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.2242, allocations: 59.91 kB / 0.7347 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.2246, allocations: 151.7 kB / 0.7348 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2246, allocations: 384 / 0.7348 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004619/0.225, allocations: 195.2 kB / 0.735 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.2251, allocations: 37.64 kB / 0.7351 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2251, allocations: 4.078 kB / 0.7351 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2251, allocations: 11.88 kB / 0.7351 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.2252, allocations: 19.98 kB / 0.7351 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2253, allocations: 0 / 0.7351 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.2254, allocations: 23.84 kB / 0.7351 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2254, allocations: 4 kB / 0.7351 GB, free: 11.17 MB / 0.5606 GB 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.0001102/0.2255, allocations: 124.9 kB / 0.7352 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.2255, allocations: 11.91 kB / 0.7352 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.2256, allocations: 12.7 kB / 0.7353 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.2256, allocations: 8 kB / 0.7353 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2256, allocations: 0 / 0.7353 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2256, allocations: 7.938 kB / 0.7353 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.2258, allocations: 160.7 kB / 0.7354 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2258, allocations: 0 / 0.7354 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.2259, allocations: 19.98 kB / 0.7354 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2259, allocations: 0 / 0.7354 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.2259, allocations: 7.984 kB / 0.7355 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2259, allocations: 3.938 kB / 0.7355 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2259, allocations: 0 / 0.7355 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.2264, allocations: 188.9 kB / 0.7356 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.2264, allocations: 15.91 kB / 0.7357 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.2264, allocations: 4 kB / 0.7357 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.2266, allocations: 11.98 kB / 0.7357 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.2266, allocations: 19.91 kB / 0.7357 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.2266, allocations: 8 kB / 0.7357 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.005e-05/0.2267, allocations: 117.2 kB / 0.7358 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2267, allocations: 0 / 0.7358 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000253/0.227, allocations: 35.94 kB / 0.7358 GB, free: 10.36 MB / 0.5606 GB 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.000244/0.2272, allocations: 115.2 kB / 0.736 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.2277, allocations: 179.3 kB / 0.7361 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2277, allocations: 192 / 0.7361 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.2279, allocations: 59.89 kB / 0.7362 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.2281, allocations: 19.91 kB / 0.7362 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.2287, allocations: 269.8 kB / 0.7365 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.229, allocations: 0.6963 MB / 0.7371 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.2291, allocations: 15.42 kB / 0.7372 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2291, allocations: 0 / 0.7372 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of Templates: time 0.003923/0.233, allocations: 1.545 MB / 0.7387 GB, free: 7.395 MB / 0.5606 GB " [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: 8.54931501694955] Failed to read output from testmodel.py, exit status != 0: 0.24210312799550593 0.256681353 0.034648038 Calling exit ...