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.001669/0.001669, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002091/0.002091, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.513/1.513, 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/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.835/2.835, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 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.002004/0.002004, allocations: 59.08 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3634, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002802/0.3662, allocations: 1.497 MB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.3672, allocations: 492.6 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.3672, allocations: 4 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.914e-05/0.3673, allocations: 7.875 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.3674, allocations: 23.78 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.3677, allocations: 39.89 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3679, allocations: 111.7 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.368, allocations: 12.19 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.3682, allocations: 51.89 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.3683, allocations: 43.83 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.3683, allocations: 11.94 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.3683, allocations: 12 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.3684, allocations: 15.92 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.3685, allocations: 39.84 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.3686, allocations: 83.22 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3686, allocations: 4 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3686, allocations: 0 / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.3687, allocations: 0 / 1.286 GB, free: 8.234 MB / 0.9825 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.0007508/0.3694, allocations: 385.4 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3694, allocations: 8.031 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.947e-05/0.3695, allocations: 4.188 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.3695, allocations: 34.75 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.3697, allocations: 20.88 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.3699, allocations: 134.4 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3699, allocations: 12.31 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.37, allocations: 12.06 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.3703, allocations: 147.3 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3703, allocations: 0 / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.3704, allocations: 8 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3704, allocations: 0 / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.3707, allocations: 113.6 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.3713, allocations: 287.8 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.3716, allocations: 132.1 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.3718, allocations: 94.64 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.3718, allocations: 4 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.3722, allocations: 157.1 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3722, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007987/0.373, allocations: 346.5 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.3731, allocations: 85.11 kB / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3732, allocations: 128.4 kB / 1.288 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.3732, allocations: 33.7 kB / 1.288 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.3733, allocations: 100.1 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.3733, allocations: 15.84 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.3734, allocations: 33.7 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3735, allocations: 326.8 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.3738, allocations: 123.3 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.374, allocations: 131.3 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.3744, allocations: 177.9 kB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3744, allocations: 0 / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006008/0.375, allocations: 324.3 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.516e-05/0.375, allocations: 67.39 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.375, allocations: 0 / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3751, allocations: 4 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3752, allocations: 11.98 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3752, allocations: 0 / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.3754, allocations: 27.91 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.3754, allocations: 7.938 kB / 1.29 GB, free: 4.465 MB / 0.9825 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.0001581/0.3755, allocations: 156.4 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.3756, allocations: 11.95 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.3756, allocations: 8.719 kB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3756, allocations: 3.938 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3756, allocations: 0 / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3756, allocations: 7.938 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.3758, allocations: 156.7 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3758, allocations: 0 / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/0.3759, allocations: 15.98 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3759, allocations: 4 kB / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.3759, allocations: 0 / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3759, allocations: 0 / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3759, allocations: 4.094 kB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.3764, allocations: 280.6 kB / 1.29 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.3765, allocations: 15.88 kB / 1.29 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.3765, allocations: 0 / 1.29 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3766, allocations: 35.97 kB / 1.29 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.3768, allocations: 31.95 kB / 1.29 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3768, allocations: 11.92 kB / 1.29 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.531e-05/0.3769, allocations: 99.27 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3769, allocations: 0 / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000215/0.3771, allocations: 31.95 kB / 1.291 GB, free: 3.516 MB / 0.9825 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.0008487/0.3779, allocations: 0.7993 MB / 1.291 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005784/0.3785, allocations: 351.7 kB / 1.292 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3785, allocations: 4 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.3788, allocations: 157 kB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.379, allocations: 21.98 kB / 1.292 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.3817, allocations: 2.025 MB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.458e-05/0.3818, allocations: 83.08 kB / 1.294 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.604e-05/0.3818, allocations: 11.98 kB / 1.294 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.3819, allocations: 19.44 kB / 1.294 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/0.3819, allocations: 0 / 1.294 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.4054, allocations: 3.388 MB / 1.297 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.57, allocations: 11.44 kB / 1.297 GB, free: 12.56 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.36993684596382] Failed to read output from testmodel.py, exit status != 0: 12.29246221005451 11.753372311 11.380049967 Calling exit ...