Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.665/2.665, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 75.81 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9078/0.9098, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00233/0.9121, allocations: 1.509 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007012/0.9128, allocations: 467.2 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.9129, allocations: 4.719 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.593e-05/0.9129, allocations: 4.969 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.03e-05/0.913, allocations: 11.73 kB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.9132, allocations: 42.06 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.9133, allocations: 98.7 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.9134, allocations: 10.05 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.9135, allocations: 51.2 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.9136, allocations: 44.14 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.9137, allocations: 12.47 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.911e-05/0.9137, allocations: 7.562 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.9137, allocations: 14.91 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.9138, allocations: 41.19 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.9139, allocations: 85.23 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9139, allocations: 0 / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.9139, allocations: 0.9375 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.9139, allocations: 0 / 1.274 GB, free: 6.164 MB / 0.9981 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.0005876/0.9145, allocations: 454.3 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.9145, allocations: 13.31 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.9146, allocations: 37.59 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.9146, allocations: 10.77 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.9148, allocations: 191.7 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.9148, allocations: 4.062 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.9148, allocations: 10.09 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.9151, allocations: 113.7 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.9151, allocations: 0 / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.9151, allocations: 4.641 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.9151, allocations: 4 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.9154, allocations: 93.94 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.9158, allocations: 332.3 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.9161, allocations: 98.33 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.9163, allocations: 67.98 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.9163, allocations: 0.8125 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/0.9166, allocations: 124.4 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.9166, allocations: 4 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0006776/0.9173, allocations: 276.5 kB / 1.276 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.9173, allocations: 83.25 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.9174, allocations: 134.6 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.9174, allocations: 28.17 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.9174, allocations: 95.31 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.9174, allocations: 24.89 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.9175, allocations: 27.97 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.9175, allocations: 323 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.9177, allocations: 72.03 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.9179, allocations: 62.94 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.9182, allocations: 190 kB / 1.277 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9182, allocations: 0 / 1.277 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004491/0.9186, allocations: 257.5 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.9187, allocations: 67.09 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.9187, allocations: 0 / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9187, allocations: 1.219 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.9188, allocations: 18.77 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.9188, allocations: 0 / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.919, allocations: 27.41 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.919, allocations: 8.781 kB / 1.277 GB, free: 3.75 MB / 0.9981 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 7.92e-05/0.9191, allocations: 154 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.9191, allocations: 4.75 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.9191, allocations: 10.5 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9191, allocations: 2.891 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9191, allocations: 5.125 kB / 1.277 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9191, allocations: 0 / 1.277 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.9192, allocations: 199.5 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9192, allocations: 0.8438 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.9193, allocations: 17.75 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.9193, allocations: 0 / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.9193, allocations: 6.438 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9193, allocations: 1 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9193, allocations: 256 / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.9198, allocations: 259.1 kB / 1.278 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.9198, allocations: 87.61 kB / 1.278 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.9198, allocations: 2.625 kB / 1.278 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.9199, allocations: 18.52 kB / 1.278 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.92, allocations: 39.44 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.9201, allocations: 11.22 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.9201, allocations: 110.1 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9201, allocations: 0 / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002162/0.9203, allocations: 22.28 kB / 1.278 GB, free: 3 MB / 0.9981 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.0006125/0.9209, allocations: 0.7835 MB / 1.279 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.9214, allocations: 259.5 kB / 1.279 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9214, allocations: 0.9688 kB / 1.279 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.9216, allocations: 126.6 kB / 1.279 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.9218, allocations: 20.77 kB / 1.279 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.924, allocations: 1.752 MB / 1.281 GB, free: 16.74 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.9243, allocations: 0.6909 MB / 1.281 GB, free: 16.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.039e-05/0.9244, allocations: 11.05 kB / 1.281 GB, free: 16.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.9244, allocations: 21.5 kB / 1.281 GB, free: 16.03 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.9244, allocations: 0 / 1.281 GB, free: 16.03 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.9503, allocations: 3.054 MB / 1.284 GB, free: 15.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.555, allocations: 4 kB / 1.284 GB, free: 15.52 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.29723511901102] Failed to read output from testmodel.py, exit status != 0: 8.619440178998047 8.633471861 7.716652731 Calling exit ...