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.001264/0.001264, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001457/0.001457, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.75/2.75, allocations: 476.7 MB / 0.7715 GB, free: 4.441 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.00199/0.00199, allocations: 64.41 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3262, allocations: 170 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002873/0.329, allocations: 1.515 MB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.33, allocations: 0.5276 MB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.3301, allocations: 7.938 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.3302, allocations: 7.938 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.603e-05/0.3302, allocations: 11.86 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.3305, allocations: 47.88 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3307, allocations: 107.7 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.3308, allocations: 12.16 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.331, allocations: 55.78 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.3311, allocations: 47.83 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.3311, allocations: 8 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.3311, allocations: 12 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.3312, allocations: 19.97 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.3312, allocations: 39.8 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.3314, allocations: 87.91 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3314, allocations: 0 / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3314, allocations: 0 / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.3314, allocations: 0 / 1.287 GB, free: 9.211 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.0007445/0.3322, allocations: 385.4 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3322, allocations: 8.031 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.654e-05/0.3322, allocations: 4.188 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.3323, allocations: 38.75 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.3324, allocations: 20.88 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.3327, allocations: 138.4 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3327, allocations: 384 / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3327, allocations: 16.06 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.333, allocations: 121.6 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.333, allocations: 0 / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.333, allocations: 4 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3331, allocations: 0 / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.3334, allocations: 87.92 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.3339, allocations: 315.7 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.3342, allocations: 94.5 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.3344, allocations: 64.94 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3344, allocations: 0 / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.3347, allocations: 123.3 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3347, allocations: 0 / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007568/0.3355, allocations: 279.1 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.3356, allocations: 89.11 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3357, allocations: 132.4 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.3357, allocations: 29.7 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.3358, allocations: 100.1 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.3358, allocations: 19.84 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.3359, allocations: 25.7 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.336, allocations: 326.8 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.3362, allocations: 67.95 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3364, allocations: 67.89 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.3368, allocations: 185.8 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3368, allocations: 0 / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005448/0.3373, allocations: 257 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.972e-05/0.3374, allocations: 69.59 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3374, allocations: 3.984 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3374, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3376, allocations: 15.92 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3376, allocations: 4 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.3377, allocations: 27.91 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.3378, allocations: 4 kB / 1.29 GB, free: 5.887 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.000146/0.3379, allocations: 159.5 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.3379, allocations: 7.953 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.338, allocations: 12.7 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.338, allocations: 4.25 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.338, allocations: 3.938 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.338, allocations: 7.938 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.3382, allocations: 168.7 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3382, allocations: 0 / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.3383, allocations: 11.98 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3383, allocations: 4 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3383, allocations: 8 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3383, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3383, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.3388, allocations: 258.5 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.3388, allocations: 4.047 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.3389, allocations: 11.94 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.339, allocations: 23.97 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.3391, allocations: 31.97 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.3392, allocations: 7.922 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.626e-05/0.3392, allocations: 107.2 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3392, allocations: 0 / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000217/0.3394, allocations: 24 kB / 1.29 GB, free: 4.961 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.0008205/0.3403, allocations: 0.7809 MB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005182/0.3408, allocations: 258.8 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3408, allocations: 4 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.341, allocations: 127.3 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.3413, allocations: 28.06 kB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.3438, allocations: 1.753 MB / 1.293 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.3441, allocations: 0.6924 MB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.205e-05/0.3442, allocations: 11.97 kB / 1.294 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.3443, allocations: 23.42 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3443, allocations: 0 / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.3671, allocations: 3.268 MB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.26, allocations: 14.61 kB / 1.297 GB, free: 13.97 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: 17.779988847032655] Failed to read output from testmodel.py, exit status != 0: 11.950869930034969 11.45143677 11.114201832000001 Calling exit ...