Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001289/0.001289, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001424/0.001424, allocations: 221.3 kB / 23.05 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.076/3.076, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_latest_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.001955/0.001955, allocations: 72.16 kB / 1.171 GB, free: 19.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3336, allocations: 179 MB / 1.345 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002941/0.3366, allocations: 1.513 MB / 1.347 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3377, allocations: 0.5221 MB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/0.3378, allocations: 8 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.3379, allocations: 3.938 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.578e-05/0.338, allocations: 19.78 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.3383, allocations: 47.89 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.3385, allocations: 103.8 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3386, allocations: 8.188 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.3388, allocations: 59.75 kB / 1.348 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3389, allocations: 35.91 kB / 1.348 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.339, allocations: 8 kB / 1.348 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.311e-05/0.339, allocations: 16 kB / 1.348 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.3391, allocations: 19.92 kB / 1.348 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.3391, allocations: 47.77 kB / 1.348 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.3394, allocations: 79.94 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3394, allocations: 0 / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3394, allocations: 4 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.3394, allocations: 0 / 1.348 GB, free: 14.12 MB / 1.045 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.0009289/0.3403, allocations: 385.4 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3404, allocations: 12.03 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.668e-05/0.3404, allocations: 8.125 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.3404, allocations: 30.75 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.3406, allocations: 20.88 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.3409, allocations: 144.9 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3409, allocations: 8.375 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.341, allocations: 8.125 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.3413, allocations: 117.6 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3413, allocations: 0 / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3414, allocations: 7.984 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3414, allocations: 0 / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.3417, allocations: 95.8 kB / 1.349 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.3424, allocations: 303.8 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.3428, allocations: 98.5 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.343, allocations: 68.88 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.343, allocations: 0 / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.3433, allocations: 131.2 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3433, allocations: 0 / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0008273/0.3442, allocations: 271.2 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/0.3443, allocations: 89.09 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3444, allocations: 134.1 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.3445, allocations: 33.7 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.283e-05/0.3445, allocations: 92.14 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.3446, allocations: 23.83 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.3446, allocations: 29.72 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3448, allocations: 318.8 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.345, allocations: 67.95 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.3452, allocations: 71.89 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.3455, allocations: 177.9 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3455, allocations: 0 / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005234/0.3461, allocations: 264.9 kB / 1.351 GB, free: 10.92 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.3461, allocations: 63.39 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3461, allocations: 4 kB / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3461, allocations: 0 / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3463, allocations: 16.08 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3463, allocations: 4.094 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.3464, allocations: 31.86 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3464, allocations: 4 kB / 1.351 GB, free: 10.79 MB / 1.045 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.0001322/0.3466, allocations: 155.5 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.3466, allocations: 11.95 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.3466, allocations: 12.72 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3466, allocations: 0 / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3466, allocations: 0 / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3466, allocations: 3.938 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3468, allocations: 160.7 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3468, allocations: 256 / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/0.3469, allocations: 19.92 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3469, allocations: 0 / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.3469, allocations: 11.98 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.3469, allocations: 7.984 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3469, allocations: 3.938 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.3474, allocations: 246.6 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.3474, allocations: 7.891 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3475, allocations: 4 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3476, allocations: 27.97 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.3478, allocations: 35.95 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3478, allocations: 8.016 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.705e-05/0.3478, allocations: 101.1 kB / 1.352 GB, free: 9.902 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3478, allocations: 0 / 1.352 GB, free: 9.902 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00022/0.3481, allocations: 24 kB / 1.352 GB, free: 9.879 MB / 1.045 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.0008364/0.3489, allocations: 0.7858 MB / 1.352 GB, free: 9.059 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.3494, allocations: 254.7 kB / 1.353 GB, free: 8.785 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3494, allocations: 3.938 kB / 1.353 GB, free: 8.781 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.3497, allocations: 131.3 kB / 1.353 GB, free: 8.641 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.3499, allocations: 17.69 kB / 1.353 GB, free: 8.625 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.3524, allocations: 1.767 MB / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.3527, allocations: 0.7 MB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.319e-05/0.3528, allocations: 11.97 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.3528, allocations: 19.44 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.3528, allocations: 0 / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.3757, allocations: 3.279 MB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.15, allocations: 5.141 kB / 1.358 GB, free: 2.867 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.57253561995458] Failed to read output from testmodel.py, exit status != 0: 11.302761899016332 11.317786611 10.975441612 Calling exit ...