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.001599/0.001599, 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.00177/0.00177, allocations: 215.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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.261/3.261, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 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.001976/0.001976, allocations: 69.72 kB / 1.17 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4232, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002801/0.426, allocations: 1.49 MB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00095/0.427, allocations: 486.9 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.427, allocations: 3.938 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.4271, allocations: 7.922 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.936e-05/0.4272, allocations: 19.86 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.4275, allocations: 51.88 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.4276, allocations: 107.7 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4278, allocations: 8.172 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.4279, allocations: 55.84 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.428, allocations: 43.83 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.4281, allocations: 8 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.827e-05/0.4281, allocations: 11.98 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.4282, allocations: 15.92 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.704e-05/0.4282, allocations: 35.86 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.4284, allocations: 95.91 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4284, allocations: 0 / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4284, allocations: 0 / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.4284, allocations: 0 / 1.348 GB, free: 13.53 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.0007076/0.4291, allocations: 373.4 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4292, allocations: 12.03 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.598e-05/0.4292, allocations: 4.188 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.4292, allocations: 42.73 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.4294, allocations: 16.89 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.4296, allocations: 146.3 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4296, allocations: 4.375 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.4297, allocations: 16.06 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.43, allocations: 143.3 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.43, allocations: 0 / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.43, allocations: 4 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.43, allocations: 4 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.4304, allocations: 121.6 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.4309, allocations: 287.8 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.4312, allocations: 132.2 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.4314, allocations: 94.58 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.4314, allocations: 0 / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003191/0.4317, allocations: 161 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4317, allocations: 0 / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0007526/0.4325, allocations: 334.5 kB / 1.349 GB, free: 11.47 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.4326, allocations: 89.09 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4327, allocations: 140.9 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4327, allocations: 25.7 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.4328, allocations: 96.14 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.4328, allocations: 23.83 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.4329, allocations: 25.72 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.433, allocations: 326.8 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.4333, allocations: 123.3 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.4335, allocations: 123.4 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.4338, allocations: 185.8 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4338, allocations: 4 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005375/0.4344, allocations: 320.4 kB / 1.351 GB, free: 9.887 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/0.4344, allocations: 67.39 kB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4344, allocations: 0 / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4344, allocations: 0 / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4346, allocations: 19.92 kB / 1.351 GB, free: 9.789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.4346, allocations: 160 / 1.351 GB, free: 9.789 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.4347, allocations: 31.86 kB / 1.351 GB, free: 9.758 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.4347, allocations: 11.98 kB / 1.351 GB, free: 9.746 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.0001305/0.4349, allocations: 151.5 kB / 1.351 GB, free: 9.582 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.4349, allocations: 7.953 kB / 1.351 GB, free: 9.574 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.4349, allocations: 12.72 kB / 1.351 GB, free: 9.559 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4349, allocations: 0 / 1.351 GB, free: 9.559 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4349, allocations: 0 / 1.351 GB, free: 9.559 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4349, allocations: 8.172 kB / 1.351 GB, free: 9.551 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.4351, allocations: 152.8 kB / 1.351 GB, free: 9.359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4351, allocations: 8 kB / 1.351 GB, free: 9.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-05/0.4352, allocations: 11.98 kB / 1.351 GB, free: 9.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4352, allocations: 0 / 1.351 GB, free: 9.34 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.4352, allocations: 4 kB / 1.351 GB, free: 9.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4352, allocations: 0 / 1.351 GB, free: 9.336 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4352, allocations: 3.938 kB / 1.351 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.4357, allocations: 288.2 kB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.4357, allocations: 15.89 kB / 1.352 GB, free: 9.004 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.4358, allocations: 8 kB / 1.352 GB, free: 8.996 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.4359, allocations: 19.97 kB / 1.352 GB, free: 8.977 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.436, allocations: 35.95 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.436, allocations: 7.938 kB / 1.352 GB, free: 8.934 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.176e-05/0.4361, allocations: 99.27 kB / 1.352 GB, free: 8.836 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4361, allocations: 0 / 1.352 GB, free: 8.836 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002111/0.4363, allocations: 24 kB / 1.352 GB, free: 8.812 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.0008223/0.4371, allocations: 0.8187 MB / 1.353 GB, free: 7.953 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005698/0.4377, allocations: 343.8 kB / 1.353 GB, free: 7.574 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4377, allocations: 0 / 1.353 GB, free: 7.574 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.438, allocations: 165 kB / 1.353 GB, free: 7.395 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.4382, allocations: 19.94 kB / 1.353 GB, free: 7.375 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.4408, allocations: 2.029 MB / 1.355 GB, free: 5.191 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.447e-05/0.4409, allocations: 80.45 kB / 1.355 GB, free: 5.094 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.125e-05/0.4409, allocations: 7.984 kB / 1.355 GB, free: 5.086 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.441, allocations: 23.42 kB / 1.355 GB, free: 5.062 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.441, allocations: 0 / 1.355 GB, free: 5.062 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.4649, allocations: 3.385 MB / 1.358 GB, free: 1.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.48, allocations: 5.781 kB / 1.358 GB, free: 1.836 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.569835960050113] Failed to read output from testmodel.py, exit status != 0: 11.643369822064415 11.672816355 11.239335782 Calling exit ...