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.001778/0.001778, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001518/0.001518, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.957/2.957, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 GB " [Timeout remaining time 176] 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.002063/0.002063, allocations: 67.89 kB / 1.165 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8932/0.8952, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002293/0.8975, allocations: 1.517 MB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007884/0.8983, allocations: 0.5274 MB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.8984, allocations: 5 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.055e-05/0.8985, allocations: 5.062 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.8985, allocations: 16.2 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.8987, allocations: 50.2 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.8989, allocations: 99.19 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.899, allocations: 12.14 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.8992, allocations: 55.31 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.8992, allocations: 43.89 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.8993, allocations: 7.75 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.8993, allocations: 18.92 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.8993, allocations: 10.47 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.8994, allocations: 42.14 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.8995, allocations: 87.91 kB / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8995, allocations: 0 / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8995, allocations: 1.656 kB / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8996, allocations: 0 / 1.343 GB, free: 14.64 MB / 1.061 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.0006015/0.9002, allocations: 458.4 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.9002, allocations: 9.562 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.6e-05/0.9002, allocations: 192 / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.605e-05/0.9002, allocations: 39.67 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.9004, allocations: 19.38 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.9006, allocations: 199.1 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.9006, allocations: 11.77 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.9006, allocations: 10.12 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.9009, allocations: 118.7 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.9009, allocations: 0 / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.9009, allocations: 2.578 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.9009, allocations: 1.438 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.9012, allocations: 90.22 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.9017, allocations: 336.2 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.9021, allocations: 101.2 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.9022, allocations: 62.08 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.9023, allocations: 0.6562 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.9026, allocations: 128.3 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.9026, allocations: 0 / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.000721/0.9033, allocations: 276.4 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.9033, allocations: 94.52 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.9034, allocations: 134.9 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.9034, allocations: 29.11 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.9035, allocations: 92.64 kB / 1.345 GB, free: 12.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.9035, allocations: 13.69 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.9035, allocations: 32.23 kB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.9036, allocations: 323.8 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.9038, allocations: 70.31 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.904, allocations: 64.19 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.9043, allocations: 189.8 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9043, allocations: 0.6094 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004848/0.9048, allocations: 258.2 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.9048, allocations: 66.03 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.9048, allocations: 0.5625 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.9049, allocations: 1.375 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.905, allocations: 14.55 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.905, allocations: 4.781 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.9051, allocations: 31.56 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.9052, allocations: 8.703 kB / 1.346 GB, free: 12.21 MB / 1.061 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 8.568e-05/0.9052, allocations: 153.5 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.9053, allocations: 12.7 kB / 1.346 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.9053, allocations: 12.45 kB / 1.346 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.9053, allocations: 5.094 kB / 1.346 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9053, allocations: 0.7969 kB / 1.346 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.9053, allocations: 7.922 kB / 1.346 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.9054, allocations: 188.7 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9054, allocations: 1.969 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-05/0.9055, allocations: 10.83 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.9055, allocations: 9.984 kB / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.9055, allocations: 2.266 kB / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.9055, allocations: 1.844 kB / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9055, allocations: 0 / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.906, allocations: 250.1 kB / 1.346 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.906, allocations: 87.23 kB / 1.346 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.9061, allocations: 8.781 kB / 1.346 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.9062, allocations: 19.36 kB / 1.346 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.9063, allocations: 36.11 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.9063, allocations: 7.438 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.028e-05/0.9064, allocations: 103.6 kB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9064, allocations: 0 / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002109/0.9066, allocations: 22.56 kB / 1.347 GB, free: 11.48 MB / 1.061 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.0006187/0.9072, allocations: 0.7876 MB / 1.347 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004661/0.9077, allocations: 251.4 kB / 1.348 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9077, allocations: 5.469 kB / 1.348 GB, free: 10.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.9079, allocations: 134.9 kB / 1.348 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.9081, allocations: 18.3 kB / 1.348 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.9102, allocations: 1.765 MB / 1.349 GB, free: 9.207 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.368e-05/0.9103, allocations: 0.6926 MB / 1.35 GB, free: 8.508 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.223e-05/0.9103, allocations: 9.641 kB / 1.35 GB, free: 8.508 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.9104, allocations: 21.69 kB / 1.35 GB, free: 8.492 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.9104, allocations: 3.938 kB / 1.35 GB, free: 8.488 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.93, allocations: 3.142 MB / 1.353 GB, free: 7.953 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/9.045, allocations: 8.062 kB / 1.353 GB, free: 7.949 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.414818232005928] Failed to read output from testmodel.py, exit status != 0: 9.170417462009937 9.189994001 8.286814135 Calling exit ...