Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000838/0.000838, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7354/0.7354, allocations: 95.62 MB / 366 MB, free: 10.32 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006281/0.0006282, allocations: 16 kB / 446.8 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4339, allocations: 70.34 MB / 0.5051 GB, free: 16.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001469/0.4354, allocations: 1.176 MB / 0.5062 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007058/0.4362, allocations: 479.9 kB / 0.5067 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.4362, allocations: 0 / 0.5067 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.4363, allocations: 7.984 kB / 0.5067 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.4364, allocations: 11.86 kB / 0.5067 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.4366, allocations: 27.97 kB / 0.5067 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.4367, allocations: 83.75 kB / 0.5068 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.4369, allocations: 12.19 kB / 0.5068 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.437, allocations: 43.83 kB / 0.5068 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.4371, allocations: 35.89 kB / 0.5069 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.4371, allocations: 4 kB / 0.5069 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.4372, allocations: 4 kB / 0.5069 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.4372, allocations: 11.92 kB / 0.5069 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.4373, allocations: 41.64 kB / 0.5069 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.4374, allocations: 54 kB / 0.507 GB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.4374, allocations: 0 / 0.507 GB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4374, allocations: 4 kB / 0.507 GB, free: 14.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.4374, allocations: 0 / 0.507 GB, free: 14.64 MB / 382.1 MB 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.0005834/0.438, allocations: 438.5 kB / 0.5074 GB, free: 14.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4381, allocations: 11.98 kB / 0.5074 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.4381, allocations: 15.91 kB / 0.5074 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.4383, allocations: 187 kB / 0.5076 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.4383, allocations: 11.94 kB / 0.5076 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.4383, allocations: 8 kB / 0.5076 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.4386, allocations: 113.6 kB / 0.5077 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.4386, allocations: 7.875 kB / 0.5078 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.4387, allocations: 11.98 kB / 0.5078 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.4387, allocations: 4 kB / 0.5078 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.4389, allocations: 103.9 kB / 0.5079 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.4395, allocations: 340.7 kB / 0.5082 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.4398, allocations: 122.5 kB / 0.5083 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4399, allocations: 76.94 kB / 0.5084 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.4399, allocations: 0 / 0.5084 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002915/0.4402, allocations: 139.2 kB / 0.5085 GB, free: 12.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.4403, allocations: 0 / 0.5085 GB, free: 12.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006279/0.4409, allocations: 295.2 kB / 0.5088 GB, free: 12.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.4409, allocations: 85.11 kB / 0.5089 GB, free: 12.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.441, allocations: 129.7 kB / 0.509 GB, free: 12.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.4411, allocations: 33.7 kB / 0.509 GB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.4411, allocations: 96.12 kB / 0.5091 GB, free: 12.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.4411, allocations: 15.81 kB / 0.5091 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.4411, allocations: 3.938 kB / 0.5091 GB, free: 12.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.4412, allocations: 326.8 kB / 0.5095 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.4414, allocations: 71.95 kB / 0.5095 GB, free: 11.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.4415, allocations: 71.95 kB / 0.5096 GB, free: 11.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4417, allocations: 107.4 kB / 0.5097 GB, free: 11.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4417, allocations: 3.984 kB / 0.5097 GB, free: 11.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003963/0.4421, allocations: 276.9 kB / 0.51 GB, free: 11.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.4421, allocations: 67.39 kB / 0.51 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.4422, allocations: 0 / 0.51 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4422, allocations: 4 kB / 0.51 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.4423, allocations: 15.98 kB / 0.51 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4423, allocations: 4.094 kB / 0.5101 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.4425, allocations: 35.84 kB / 0.5101 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.4425, allocations: 0 / 0.5101 GB, free: 11.19 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.763e-05/0.4426, allocations: 163.5 kB / 0.5102 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.4426, allocations: 7.906 kB / 0.5103 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.4426, allocations: 12.38 kB / 0.5103 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4426, allocations: 0 / 0.5103 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4426, allocations: 0 / 0.5103 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4427, allocations: 0 / 0.5103 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.4428, allocations: 201.6 kB / 0.5105 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4428, allocations: 0 / 0.5105 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.4429, allocations: 24.17 kB / 0.5105 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4429, allocations: 0 / 0.5105 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.4429, allocations: 15.98 kB / 0.5105 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4429, allocations: 0 / 0.5105 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4429, allocations: 0 / 0.5105 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.4433, allocations: 266.6 kB / 0.5107 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.4434, allocations: 85.02 kB / 0.5108 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.4434, allocations: 4 kB / 0.5108 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4435, allocations: 27.97 kB / 0.5109 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.4437, allocations: 39.95 kB / 0.5109 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4437, allocations: 4 kB / 0.5109 GB, free: 10.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.982e-05/0.4437, allocations: 102.2 kB / 0.511 GB, free: 10.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4437, allocations: 0 / 0.511 GB, free: 10.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001962/0.4439, allocations: 20 kB / 0.511 GB, free: 10.13 MB / 382.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.116e-05/0.444, allocations: 107.2 kB / 0.5111 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004031/0.4444, allocations: 278.7 kB / 0.5114 GB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4445, allocations: 0 / 0.5114 GB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.4447, allocations: 147.4 kB / 0.5115 GB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.4449, allocations: 19.94 kB / 0.5115 GB, free: 9.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.4453, allocations: 237.2 kB / 0.5118 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.4454, allocations: 0.6965 MB / 0.5125 GB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.88e-05/0.4455, allocations: 8.172 kB / 0.5125 GB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.4455, allocations: 11.44 kB / 0.5125 GB, free: 8.547 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4455, allocations: 0 / 0.5125 GB, free: 8.547 MB / 382.1 MB Notification: Performance of Templates: time 0.003377/0.4489, allocations: 1.534 MB / 0.514 GB, free: 7.023 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) Environment - environmentSimulation: