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.001369/0.001369, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00157/0.00157, allocations: 210.8 kB / 22.99 MB, free: 4.605 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.626/1.626, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.009/1.009, allocations: 149.9 MB / 463 MB, free: 10.34 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.002114/0.002114, allocations: 62.72 kB / 0.641 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2109, allocations: 89.17 MB / 0.7281 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002898/0.2138, allocations: 1.479 MB / 0.7296 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2149, allocations: 498.8 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.2149, allocations: 4 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.215, allocations: 7.938 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.917e-05/0.2151, allocations: 15.84 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.2154, allocations: 51.83 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.2156, allocations: 103.7 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2157, allocations: 12.17 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.2159, allocations: 51.84 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.216, allocations: 39.83 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.216, allocations: 8 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.206e-05/0.2161, allocations: 16 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.2161, allocations: 15.91 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.2162, allocations: 35.86 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.2164, allocations: 95.89 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2164, allocations: 0 / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2164, allocations: 4 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2164, allocations: 0 / 0.7305 GB, free: 14.6 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.0007863/0.2172, allocations: 377.4 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2172, allocations: 8.031 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.2173, allocations: 46.69 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.2174, allocations: 20.88 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.2177, allocations: 130.4 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2177, allocations: 8.375 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.2177, allocations: 8.375 kB / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.2181, allocations: 147.2 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2181, allocations: 0 / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.2181, allocations: 4 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2181, allocations: 4 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.2184, allocations: 121.6 kB / 0.7313 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.219, allocations: 287.8 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.2194, allocations: 128.2 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.2196, allocations: 98.64 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.2196, allocations: 0 / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/0.2199, allocations: 161 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.2199, allocations: 3.938 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0007981/0.2207, allocations: 334.6 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.491e-05/0.2208, allocations: 89.11 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.2209, allocations: 127.5 kB / 0.7325 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.221, allocations: 33.7 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.2211, allocations: 100.1 kB / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.2211, allocations: 15.84 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.2212, allocations: 33.7 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2213, allocations: 326.8 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.2216, allocations: 119.4 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.2218, allocations: 139.2 kB / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.2222, allocations: 177.9 kB / 0.7334 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2222, allocations: 0 / 0.7334 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005873/0.2228, allocations: 324.3 kB / 0.7337 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.566e-05/0.2228, allocations: 63.39 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2228, allocations: 0 / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2229, allocations: 4 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.223, allocations: 15.98 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.223, allocations: 0 / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.2231, allocations: 27.92 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.2232, allocations: 7.938 kB / 0.7338 GB, free: 10.84 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.000149/0.2233, allocations: 147.5 kB / 0.734 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.2233, allocations: 15.94 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.2234, allocations: 8.719 kB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2234, allocations: 8 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2234, allocations: 0 / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.2234, allocations: 3.984 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.2236, allocations: 156.7 kB / 0.7341 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2236, allocations: 3.984 kB / 0.7342 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.488e-05/0.2237, allocations: 11.98 kB / 0.7342 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2237, allocations: 3.938 kB / 0.7342 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.2237, allocations: 0 / 0.7342 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2237, allocations: 4 kB / 0.7342 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2237, allocations: 0 / 0.7342 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.2242, allocations: 280.3 kB / 0.7344 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.2242, allocations: 20.28 kB / 0.7345 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.2243, allocations: 7.875 kB / 0.7345 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.2244, allocations: 27.98 kB / 0.7345 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.2245, allocations: 31.95 kB / 0.7345 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.2246, allocations: 7.984 kB / 0.7345 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.301e-05/0.2246, allocations: 106 kB / 0.7346 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2246, allocations: 0 / 0.7346 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000231/0.2249, allocations: 32 kB / 0.7347 GB, free: 9.887 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.000916/0.2258, allocations: 0.807 MB / 0.7355 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006085/0.2264, allocations: 339.8 kB / 0.7358 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2264, allocations: 0 / 0.7358 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.2267, allocations: 169 kB / 0.7359 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.2269, allocations: 18.17 kB / 0.736 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.2298, allocations: 2.024 MB / 0.7379 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.157e-05/0.2298, allocations: 75.33 kB / 0.738 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.059e-05/0.2299, allocations: 7.859 kB / 0.738 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.23, allocations: 27.42 kB / 0.738 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of SimCode: time 4.2e-07/0.23, allocations: 0 / 0.738 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.2631, allocations: 3.773 MB / 0.7417 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.38, allocations: 0.6562 kB / 0.7417 GB, free: 2.547 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.512889423873276] Failed to read output from testmodel.py, exit status != 0: 11.489241675939411 11.518819992 11.297013151 Calling exit ...