Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001338/0.001338, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001373/0.001373, allocations: 215 kB / 20.13 MB, free: 2.949 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.434/1.434, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00242/0.00242, allocations: 275.5 kB / 309.8 MB, free: 3.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.048/1.048, allocations: 180.6 MB / 0.5338 GB, free: 12.42 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002892/0.002892, allocations: 99.86 kB / 0.7346 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.495, allocations: 95.33 MB / 0.8277 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.00247/0.4974, allocations: 1.519 MB / 0.8292 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.4982, allocations: 0.5215 MB / 0.8297 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.4983, allocations: 4 kB / 0.8297 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.276e-05/0.4984, allocations: 9.234 kB / 0.8297 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.4984, allocations: 15.52 kB / 0.8298 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.4986, allocations: 47.23 kB / 0.8298 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.4988, allocations: 97.77 kB / 0.8299 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.981e-05/0.4989, allocations: 11.41 kB / 0.8299 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.499, allocations: 61.05 kB / 0.83 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.4991, allocations: 38.66 kB / 0.83 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.4991, allocations: 7.219 kB / 0.83 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.26e-05/0.4992, allocations: 16.19 kB / 0.83 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.4992, allocations: 17.84 kB / 0.83 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.4993, allocations: 38.77 kB / 0.8301 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.4994, allocations: 89.16 kB / 0.8302 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4994, allocations: 0 / 0.8302 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4994, allocations: 0 / 0.8302 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.4994, allocations: 3.938 kB / 0.8302 GB, free: 1.312 MB / 0.5762 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.0005976/0.5, allocations: 460.1 kB / 0.8306 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.5001, allocations: 13.09 kB / 0.8306 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.331e-05/0.5001, allocations: 2.812 kB / 0.8306 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.435e-05/0.5001, allocations: 39.16 kB / 0.8307 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.5002, allocations: 18.11 kB / 0.8307 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.5004, allocations: 198.1 kB / 0.8309 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.5004, allocations: 3 kB / 0.8309 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.5005, allocations: 14.17 kB / 0.8309 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.5008, allocations: 119.5 kB / 0.831 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.5008, allocations: 0 / 0.831 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.5008, allocations: 7.422 kB / 0.831 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.5008, allocations: 0 / 0.831 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.5011, allocations: 85.22 kB / 0.8311 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.5017, allocations: 330.3 kB / 0.8314 GB, free: 224 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.502, allocations: 97.19 kB / 0.8315 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.5022, allocations: 69.27 kB / 0.8316 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.5022, allocations: 0 / 0.8316 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.5025, allocations: 129.5 kB / 0.8317 GB, free: 88 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.5025, allocations: 0 / 0.8317 GB, free: 88 kB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0007577/0.5032, allocations: 278.8 kB / 0.8319 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.5033, allocations: 86.55 kB / 0.832 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.5034, allocations: 138.1 kB / 0.8322 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.5035, allocations: 28.95 kB / 0.8322 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.5035, allocations: 91.7 kB / 0.8323 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.5036, allocations: 21.38 kB / 0.8323 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.5036, allocations: 37.05 kB / 0.8323 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5038, allocations: 320.1 kB / 0.8326 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.504, allocations: 67.67 kB / 0.8327 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.5042, allocations: 71.16 kB / 0.8328 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.5045, allocations: 176 kB / 0.8329 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5045, allocations: 5.25 kB / 0.8329 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005282/0.5051, allocations: 266.3 kB / 0.8332 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.5051, allocations: 63.59 kB / 0.8333 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5051, allocations: 4 kB / 0.8333 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5051, allocations: 0 / 0.8333 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.5053, allocations: 18.5 kB / 0.8333 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.5053, allocations: 0.6562 kB / 0.8333 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.5054, allocations: 27.8 kB / 0.8333 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.5054, allocations: 6.422 kB / 0.8333 GB, free: 14.89 MB / 0.5919 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.0001376/0.5056, allocations: 160.4 kB / 0.8335 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.5056, allocations: 14.84 kB / 0.8335 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.5056, allocations: 13.17 kB / 0.8335 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.5056, allocations: 0 / 0.8335 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5056, allocations: 3.281 kB / 0.8335 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5056, allocations: 3.938 kB / 0.8335 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.5058, allocations: 187.3 kB / 0.8337 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5058, allocations: 0.6562 kB / 0.8337 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.908e-05/0.5059, allocations: 13.7 kB / 0.8337 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5059, allocations: 0.6094 kB / 0.8337 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.5059, allocations: 7.594 kB / 0.8337 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5059, allocations: 4 kB / 0.8337 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5059, allocations: 0 / 0.8337 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.5065, allocations: 246.7 kB / 0.8339 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.5065, allocations: 84.62 kB / 0.834 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.5065, allocations: 4.031 kB / 0.834 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.5067, allocations: 26.48 kB / 0.834 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.5068, allocations: 35.86 kB / 0.8341 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.5068, allocations: 13.89 kB / 0.8341 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.589e-05/0.5069, allocations: 98.59 kB / 0.8342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5069, allocations: 0 / 0.8342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000218/0.5071, allocations: 28.17 kB / 0.8342 GB, free: 14.15 MB / 0.5919 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.0008613/0.508, allocations: 0.7776 MB / 0.835 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.5085, allocations: 255.5 kB / 0.8352 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5085, allocations: 0 / 0.8352 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.5088, allocations: 131.5 kB / 0.8353 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.509, allocations: 23.58 kB / 0.8354 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.5116, allocations: 1.765 MB / 0.8371 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.5119, allocations: 0.6889 MB / 0.8378 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.925e-05/0.5119, allocations: 8.25 kB / 0.8378 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.512, allocations: 21.11 kB / 0.8378 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.512, allocations: 0.6875 kB / 0.8378 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.5315, allocations: 3.127 MB / 0.8408 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/8.703, allocations: 4.188 kB / 0.8408 GB, free: 10.65 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.56791558797704] Failed to read output from testmodel.py, exit status != 0: 8.826767913007643 8.843127694 8.340531387 Calling exit ...