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.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.001863/0.001863, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002284/0.002284, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.514/1.514, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7678 GB, free: 9.488 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001994/0.001994, allocations: 67.91 kB / 1.113 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9586/0.9606, allocations: 169.9 MB / 1.279 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003071/0.9637, allocations: 1.512 MB / 1.28 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.9648, allocations: 0.5329 MB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.9649, allocations: 1.281 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.965, allocations: 5.625 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.952e-05/0.9651, allocations: 19.92 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.9654, allocations: 41.84 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.9656, allocations: 103.9 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.9657, allocations: 10.64 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.966, allocations: 60.3 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.9661, allocations: 43.25 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.9661, allocations: 8.5 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.651e-05/0.9662, allocations: 10.47 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.9662, allocations: 15.08 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.9663, allocations: 49.23 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.9665, allocations: 84.22 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.9665, allocations: 0.9375 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.542e-06/0.9665, allocations: 0 / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.9665, allocations: 0 / 1.281 GB, free: 9.973 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.0009199/0.9674, allocations: 462.6 kB / 1.282 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.9675, allocations: 9.281 kB / 1.282 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.807e-05/0.9675, allocations: 5.219 kB / 1.282 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.9676, allocations: 34.88 kB / 1.282 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.9678, allocations: 23.11 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.9681, allocations: 193.9 kB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.9681, allocations: 3.75 kB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.9681, allocations: 10.88 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.9686, allocations: 114 kB / 1.282 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9686, allocations: 0 / 1.282 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.9686, allocations: 6.547 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.9686, allocations: 1 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.969, allocations: 87.03 kB / 1.282 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006962/0.9697, allocations: 339.2 kB / 1.283 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.9701, allocations: 100.8 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.9703, allocations: 62.78 kB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.9703, allocations: 5.094 kB / 1.283 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003461/0.9707, allocations: 133.5 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.9707, allocations: 0 / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0007894/0.9715, allocations: 272.4 kB / 1.283 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/0.9716, allocations: 85.94 kB / 1.283 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.9717, allocations: 131.9 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.9717, allocations: 32.33 kB / 1.283 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.9718, allocations: 100.8 kB / 1.283 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.9718, allocations: 17.83 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.9719, allocations: 28.67 kB / 1.283 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.9721, allocations: 323.1 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.9723, allocations: 65.75 kB / 1.284 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.9725, allocations: 72.41 kB / 1.284 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.9729, allocations: 186.1 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9729, allocations: 0.7031 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005851/0.9735, allocations: 258.2 kB / 1.284 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.341e-05/0.9736, allocations: 65.88 kB / 1.284 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9736, allocations: 0 / 1.284 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.9736, allocations: 2.016 kB / 1.284 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.9738, allocations: 17.98 kB / 1.284 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.9738, allocations: 0 / 1.284 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.9739, allocations: 32.19 kB / 1.284 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.974, allocations: 4.703 kB / 1.284 GB, free: 7.547 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 0.000143/0.9741, allocations: 153.2 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.9741, allocations: 10.03 kB / 1.285 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.9742, allocations: 12.61 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9742, allocations: 4 kB / 1.285 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.9742, allocations: 1.344 kB / 1.285 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.9742, allocations: 4.547 kB / 1.285 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.9744, allocations: 192.4 kB / 1.285 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9744, allocations: 96 / 1.285 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/0.9745, allocations: 16.77 kB / 1.285 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.9745, allocations: 5.422 kB / 1.285 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.9745, allocations: 6.109 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.9745, allocations: 5.953 kB / 1.285 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9745, allocations: 0 / 1.285 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.975, allocations: 249.9 kB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.9751, allocations: 84.8 kB / 1.285 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.9751, allocations: 2.719 kB / 1.285 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.9752, allocations: 19.19 kB / 1.285 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.9754, allocations: 41.81 kB / 1.285 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.9754, allocations: 7.547 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.95e-05/0.9755, allocations: 103.6 kB / 1.285 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9755, allocations: 1.25 kB / 1.285 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002149/0.9757, allocations: 28.95 kB / 1.285 GB, free: 6.805 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.0009069/0.9766, allocations: 0.7854 MB / 1.286 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005754/0.9772, allocations: 258.8 kB / 1.286 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9772, allocations: 0 / 1.286 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.9775, allocations: 132.5 kB / 1.287 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.9777, allocations: 23.31 kB / 1.287 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.9804, allocations: 1.763 MB / 1.288 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.9807, allocations: 0.6973 MB / 1.289 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.282e-05/0.9808, allocations: 7.438 kB / 1.289 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.9808, allocations: 23.25 kB / 1.289 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/0.9808, allocations: 0 / 1.289 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/1.002, allocations: 3.136 MB / 1.292 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/9.327, allocations: 8.656 kB / 1.292 GB, free: 3.273 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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: 15.421150337031577] Failed to read output from testmodel.py, exit status != 0: 9.452880634053145 9.471665946 8.502403694 Calling exit ...