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.001325/0.001325, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001796/0.001796, allocations: 213.1 kB / 22.99 MB, free: 4.977 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9854/0.9854, allocations: 149.9 MB / 463 MB, free: 10.33 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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [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.002668/0.002668, allocations: 65.67 kB / 0.641 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1881, allocations: 89.17 MB / 0.7281 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003194/0.1913, allocations: 1.537 MB / 0.7296 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1926, allocations: 0.6116 MB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.1927, allocations: 0 / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.1928, allocations: 11.86 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.1928, allocations: 23.8 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.1933, allocations: 103.8 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.1935, allocations: 95.64 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1936, allocations: 16.22 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.1938, allocations: 51.83 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.21e-05/0.1939, allocations: 47.7 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1939, allocations: 8 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.1941, allocations: 99.83 kB / 0.7307 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.1941, allocations: 23.92 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.1942, allocations: 31.8 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.1944, allocations: 155.8 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1944, allocations: 0 / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1944, allocations: 0 / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.1944, allocations: 0 / 0.7309 GB, free: 14.23 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.0008121/0.1953, allocations: 383.4 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1953, allocations: 12.03 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.1953, allocations: 42.67 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.1956, allocations: 32.83 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1959, allocations: 140.6 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.1959, allocations: 384 / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1959, allocations: 4.375 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.1962, allocations: 109.7 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1962, allocations: 3.938 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1962, allocations: 0 / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.1963, allocations: 8 kB / 0.7316 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.1966, allocations: 95.84 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.1972, allocations: 303.8 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.1976, allocations: 94.45 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.1977, allocations: 52.88 kB / 0.7321 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1978, allocations: 0 / 0.7321 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.1981, allocations: 111.3 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1981, allocations: 0 / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.000685/0.1987, allocations: 217.7 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1988, allocations: 51.41 kB / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1989, allocations: 143.5 kB / 0.7326 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.199, allocations: 37.62 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.199, allocations: 100.1 kB / 0.7327 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.1991, allocations: 31.84 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.1991, allocations: 29.7 kB / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1993, allocations: 322.8 kB / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.1995, allocations: 85.66 kB / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.1997, allocations: 90.36 kB / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.2001, allocations: 139.8 kB / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2001, allocations: 0 / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000517/0.2006, allocations: 237 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.2007, allocations: 32.05 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2007, allocations: 0 / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2007, allocations: 4 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.2008, allocations: 23.91 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2008, allocations: 3.938 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.201, allocations: 23.91 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.201, allocations: 11.98 kB / 0.7337 GB, free: 11.08 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.0001134/0.2011, allocations: 117.8 kB / 0.7338 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.2011, allocations: 11.91 kB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.2012, allocations: 16.7 kB / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.2012, allocations: 4 kB / 0.7339 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2012, allocations: 7.938 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2012, allocations: 0 / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.2014, allocations: 152.7 kB / 0.734 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2014, allocations: 0 / 0.734 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.2015, allocations: 23.98 kB / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2015, allocations: 0 / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2015, allocations: 4 kB / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2015, allocations: 3.984 kB / 0.734 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2015, allocations: 3.938 kB / 0.734 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.202, allocations: 181.1 kB / 0.7342 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.202, allocations: 11.91 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.202, allocations: 7.938 kB / 0.7342 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.2022, allocations: 19.98 kB / 0.7342 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.2022, allocations: 19.91 kB / 0.7343 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.2022, allocations: 0 / 0.7343 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.853e-05/0.2023, allocations: 116.9 kB / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2023, allocations: 0 / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002511/0.2026, allocations: 35.94 kB / 0.7344 GB, free: 10.29 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.0008534/0.2034, allocations: 0.7256 MB / 0.7351 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.2039, allocations: 212.9 kB / 0.7353 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2039, allocations: 0 / 0.7353 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.2042, allocations: 59.89 kB / 0.7354 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.2044, allocations: 25.28 kB / 0.7354 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.2071, allocations: 1.83 MB / 0.7372 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.155e-05/0.2072, allocations: 85.27 kB / 0.7373 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.987e-05/0.2073, allocations: 11.98 kB / 0.7373 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.2074, allocations: 27.42 kB / 0.7373 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.2074, allocations: 0 / 0.7373 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.2394, allocations: 3.382 MB / 0.7406 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.35, allocations: 10.59 kB / 0.7406 GB, free: 3.895 MB / 0.5606 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.344374080188572] Failed to read output from testmodel.py, exit status != 0: 11.459155590739101 11.487863901 11.287794975 Calling exit ...