Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.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.001306/0.001306, allocations: 119 kB / 19.69 MB, free: 2.199 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.001454/0.001454, allocations: 220.4 kB / 23.01 MB, free: 5.047 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.957 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 1.057/1.057, allocations: 150 MB / 463.2 MB, free: 10.45 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.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",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.002054/0.002054, allocations: 70.02 kB / 0.6412 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2054, allocations: 89.17 MB / 0.7283 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002708/0.2081, allocations: 1.507 MB / 0.7298 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.2091, allocations: 0.526 MB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.2091, allocations: 4 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.339e-05/0.2092, allocations: 11.88 kB / 0.7303 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.473e-05/0.2093, allocations: 15.84 kB / 0.7303 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.2095, allocations: 47.89 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.2097, allocations: 99.75 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2098, allocations: 8.188 kB / 0.7305 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.21, allocations: 59.81 kB / 0.7305 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.895e-05/0.2101, allocations: 39.84 kB / 0.7306 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.2101, allocations: 12 kB / 0.7306 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-05/0.2102, allocations: 15.98 kB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.2102, allocations: 11.94 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.2103, allocations: 51.7 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.2104, allocations: 83.94 kB / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2104, allocations: 0 / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2104, allocations: 0 / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2105, allocations: 0 / 0.7307 GB, free: 14.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007107/0.2112, allocations: 393.3 kB / 0.7311 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2112, allocations: 12.03 kB / 0.7311 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.2112, allocations: 34.75 kB / 0.7312 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.2114, allocations: 16.88 kB / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.2116, allocations: 138.4 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2116, allocations: 4.375 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2117, allocations: 4.375 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.212, allocations: 125.5 kB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.212, allocations: 4 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.212, allocations: 3.984 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.212, allocations: 4 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.2123, allocations: 83.92 kB / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.2128, allocations: 303.8 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.2131, allocations: 106.4 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.2133, allocations: 64.94 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.2133, allocations: 0 / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.2137, allocations: 131.3 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.2137, allocations: 0 / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0007178/0.2144, allocations: 267.2 kB / 0.7324 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.2145, allocations: 93.03 kB / 0.7325 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2146, allocations: 140.4 kB / 0.7326 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.2146, allocations: 25.7 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.2147, allocations: 100.1 kB / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.2147, allocations: 23.83 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.2148, allocations: 25.72 kB / 0.7328 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2149, allocations: 322.8 kB / 0.7331 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2151, allocations: 67.95 kB / 0.7331 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.2153, allocations: 71.94 kB / 0.7332 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.2156, allocations: 178 kB / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2156, allocations: 3.938 kB / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005189/0.2161, allocations: 260.9 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/0.2162, allocations: 63.39 kB / 0.7337 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2162, allocations: 0 / 0.7337 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2162, allocations: 4 kB / 0.7337 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2163, allocations: 15.98 kB / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2163, allocations: 0 / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2165, allocations: 31.92 kB / 0.7337 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.2165, allocations: 7.938 kB / 0.7337 GB, free: 11.42 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: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001356/0.2166, allocations: 155.5 kB / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.2167, allocations: 8 kB / 0.7339 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.2167, allocations: 12.72 kB / 0.7339 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2167, allocations: 0 / 0.7339 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2167, allocations: 0 / 0.7339 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2167, allocations: 0 / 0.7339 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2169, allocations: 168.6 kB / 0.7341 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.2169, allocations: 0 / 0.7341 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.2169, allocations: 11.98 kB / 0.7341 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.217, allocations: 7.984 kB / 0.7341 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.217, allocations: 4 kB / 0.7341 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.217, allocations: 0 / 0.7341 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.217, allocations: 0 / 0.7341 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.2175, allocations: 254.9 kB / 0.7343 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.2175, allocations: 11.95 kB / 0.7343 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.2175, allocations: 4 kB / 0.7344 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.2177, allocations: 23.97 kB / 0.7344 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.2178, allocations: 39.97 kB / 0.7344 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.2178, allocations: 11.92 kB / 0.7344 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.69e-05/0.2179, allocations: 107.1 kB / 0.7345 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2179, allocations: 0 / 0.7345 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002143/0.2181, allocations: 28 kB / 0.7346 GB, free: 10.5 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0008287/0.2189, allocations: 0.782 MB / 0.7353 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005144/0.2194, allocations: 254.8 kB / 0.7356 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2194, allocations: 0 / 0.7356 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.2197, allocations: 131.3 kB / 0.7357 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.2199, allocations: 20.09 kB / 0.7357 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.2224, allocations: 1.759 MB / 0.7374 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.2228, allocations: 0.6977 MB / 0.7381 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.722e-05/0.2228, allocations: 15.83 kB / 0.7381 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.2229, allocations: 19.44 kB / 0.7381 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.2229, allocations: 0 / 0.7381 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.253, allocations: 3.243 MB / 0.7413 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.06, allocations: 5.312 kB / 0.7413 GB, free: 3.543 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests_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_NumberOfRequests.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.075854688999243] Failed to read output from testmodel.py, exit status != 0: 11.167798280999705 11.196900025 10.98108488 Calling exit ...