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.001045/0.001045, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006175/0.006176, allocations: 171.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.6591/0.6591, allocations: 95.62 MB / 366.4 MB, free: 10.22 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.0008671/0.0008674, allocations: 12.7 kB / 447.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.419, allocations: 70.33 MB / 0.5057 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001402/0.4204, allocations: 1.184 MB / 0.5068 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007016/0.4211, allocations: 0.4996 MB / 0.5073 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.4212, allocations: 0 / 0.5073 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.4213, allocations: 7.875 kB / 0.5073 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.4214, allocations: 15.92 kB / 0.5073 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.4216, allocations: 27.91 kB / 0.5074 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.4217, allocations: 91.81 kB / 0.5074 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4218, allocations: 8.172 kB / 0.5074 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.422, allocations: 43.84 kB / 0.5075 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.125e-05/0.4221, allocations: 35.83 kB / 0.5075 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.4221, allocations: 11.94 kB / 0.5075 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.4221, allocations: 4 kB / 0.5075 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.4222, allocations: 11.92 kB / 0.5075 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.4222, allocations: 61.55 kB / 0.5076 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.4224, allocations: 77.86 kB / 0.5077 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4224, allocations: 0 / 0.5077 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4224, allocations: 0 / 0.5077 GB, free: 14.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.4224, allocations: 0 / 0.5077 GB, free: 14.38 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.0006099/0.423, allocations: 442.7 kB / 0.5081 GB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4231, allocations: 15.98 kB / 0.5081 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.4231, allocations: 12.78 kB / 0.5081 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.4233, allocations: 188.2 kB / 0.5083 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.4233, allocations: 12.36 kB / 0.5083 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.4233, allocations: 8.375 kB / 0.5083 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.4236, allocations: 129.7 kB / 0.5085 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4236, allocations: 0 / 0.5085 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4237, allocations: 0 / 0.5085 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4237, allocations: 4 kB / 0.5085 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.424, allocations: 103.9 kB / 0.5086 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.4245, allocations: 344.5 kB / 0.5089 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.4248, allocations: 114.5 kB / 0.509 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.425, allocations: 84.92 kB / 0.5091 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.425, allocations: 8 kB / 0.5091 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/0.4253, allocations: 127.3 kB / 0.5092 GB, free: 12.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.4253, allocations: 0 / 0.5092 GB, free: 12.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006614/0.426, allocations: 299.1 kB / 0.5095 GB, free: 12.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.426, allocations: 85.09 kB / 0.5096 GB, free: 12.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.4261, allocations: 132.5 kB / 0.5097 GB, free: 12.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4261, allocations: 29.7 kB / 0.5097 GB, free: 12.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.4262, allocations: 96.05 kB / 0.5098 GB, free: 11.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.4262, allocations: 19.88 kB / 0.5098 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.4263, allocations: 21.7 kB / 0.5099 GB, free: 11.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.4263, allocations: 318.8 kB / 0.5102 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.4265, allocations: 79.94 kB / 0.5102 GB, free: 11.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.4267, allocations: 71.95 kB / 0.5103 GB, free: 11.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.427, allocations: 205.9 kB / 0.5105 GB, free: 11.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.427, allocations: 0 / 0.5105 GB, free: 11.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004395/0.4275, allocations: 276.9 kB / 0.5108 GB, free: 10.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.4275, allocations: 59.41 kB / 0.5108 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4275, allocations: 0 / 0.5108 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4276, allocations: 0 / 0.5108 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.4277, allocations: 23.91 kB / 0.5108 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4277, allocations: 4 kB / 0.5109 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.4279, allocations: 32.17 kB / 0.5109 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.4279, allocations: 4 kB / 0.5109 GB, free: 10.8 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 (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.000112/0.428, allocations: 167.3 kB / 0.511 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.428, allocations: 7.906 kB / 0.5111 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.4281, allocations: 20.38 kB / 0.5111 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4281, allocations: 0 / 0.5111 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4281, allocations: 3.984 kB / 0.5111 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4281, allocations: 0 / 0.5111 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.4282, allocations: 189.6 kB / 0.5113 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4282, allocations: 3.984 kB / 0.5113 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.4283, allocations: 15.98 kB / 0.5113 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4283, allocations: 0 / 0.5113 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.4284, allocations: 8 kB / 0.5113 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4284, allocations: 4 kB / 0.5113 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4284, allocations: 0 / 0.5113 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.4288, allocations: 266.5 kB / 0.5115 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.4289, allocations: 85.02 kB / 0.5116 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.4289, allocations: 0 / 0.5116 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.429, allocations: 27.97 kB / 0.5116 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.4292, allocations: 39.95 kB / 0.5117 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4292, allocations: 0 / 0.5117 GB, free: 9.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.658e-05/0.4292, allocations: 99.27 kB / 0.5118 GB, free: 9.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4292, allocations: 4 kB / 0.5118 GB, free: 9.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.4294, allocations: 31.88 kB / 0.5118 GB, free: 9.742 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.16e-05/0.4295, allocations: 99.25 kB / 0.5119 GB, free: 9.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.43, allocations: 286.6 kB / 0.5122 GB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4301, allocations: 0 / 0.5122 GB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.4303, allocations: 143.4 kB / 0.5123 GB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.4305, allocations: 18.17 kB / 0.5123 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.431, allocations: 241.2 kB / 0.5126 GB, free: 8.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.4312, allocations: 0.6965 MB / 0.5132 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.813e-05/0.4312, allocations: 15.97 kB / 0.5133 GB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.4313, allocations: 11.44 kB / 0.5133 GB, free: 8.152 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4313, allocations: 0 / 0.5133 GB, free: 8.152 MB / 382.1 MB Notification: Performance of Templates: time 0.003445/0.4347, allocations: 1.569 MB / 0.5148 GB, free: 6.594 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: