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.001199/0.001199, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.539/1.539, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.5989/0.5989, allocations: 95.48 MB / 365.2 MB, free: 9.879 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.001745/0.001745, allocations: 67.91 kB / 445.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3698, allocations: 69.07 MB / 0.5024 GB, free: 17.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00393/0.3738, allocations: 1.466 MB / 0.5038 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3751, allocations: 0.4994 MB / 0.5043 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.636e-05/0.3752, allocations: 0 / 0.5043 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.3754, allocations: 11.92 kB / 0.5043 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.3755, allocations: 19.8 kB / 0.5043 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.3759, allocations: 31.95 kB / 0.5043 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.3761, allocations: 95.77 kB / 0.5044 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.3763, allocations: 24.17 kB / 0.5045 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.3766, allocations: 47.83 kB / 0.5045 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.3767, allocations: 35.89 kB / 0.5045 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.3768, allocations: 8 kB / 0.5045 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.289e-05/0.3768, allocations: 8 kB / 0.5045 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.07e-05/0.3769, allocations: 19.92 kB / 0.5046 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.377, allocations: 39.8 kB / 0.5046 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3772, allocations: 81.72 kB / 0.5047 GB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3773, allocations: 0 / 0.5047 GB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3773, allocations: 4 kB / 0.5047 GB, free: 14.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3773, allocations: 0 / 0.5047 GB, free: 14.95 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.000991/0.3783, allocations: 458.5 kB / 0.5051 GB, free: 14.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.3784, allocations: 11.98 kB / 0.5051 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.3785, allocations: 8.844 kB / 0.5051 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.3787, allocations: 184.3 kB / 0.5053 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3787, allocations: 4.375 kB / 0.5053 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.3788, allocations: 12.38 kB / 0.5053 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.3793, allocations: 121.7 kB / 0.5055 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3793, allocations: 0 / 0.5055 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.3794, allocations: 4 kB / 0.5055 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3794, allocations: 0 / 0.5055 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.3799, allocations: 91.86 kB / 0.5055 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007283/0.3807, allocations: 332.6 kB / 0.5059 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.3812, allocations: 106.5 kB / 0.506 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.3815, allocations: 72.94 kB / 0.506 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3815, allocations: 4 kB / 0.506 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006053/0.3822, allocations: 123.3 kB / 0.5062 GB, free: 13.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/0.3822, allocations: 0 / 0.5062 GB, free: 13.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.001164/0.3834, allocations: 271.2 kB / 0.5064 GB, free: 12.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.3834, allocations: 89.11 kB / 0.5065 GB, free: 12.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.3836, allocations: 136.4 kB / 0.5066 GB, free: 12.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3836, allocations: 25.7 kB / 0.5067 GB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.3837, allocations: 100.1 kB / 0.5067 GB, free: 12.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.3838, allocations: 11.81 kB / 0.5068 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.3839, allocations: 33.7 kB / 0.5068 GB, free: 12.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.384, allocations: 326.7 kB / 0.5071 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.3843, allocations: 67.94 kB / 0.5072 GB, free: 12.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.3846, allocations: 68.03 kB / 0.5072 GB, free: 12.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.3852, allocations: 185.9 kB / 0.5074 GB, free: 11.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3852, allocations: 0 / 0.5074 GB, free: 11.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008176/0.386, allocations: 260.8 kB / 0.5077 GB, free: 11.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/0.3861, allocations: 63.41 kB / 0.5077 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3861, allocations: 4 kB / 0.5077 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.3862, allocations: 3.984 kB / 0.5077 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.3864, allocations: 12.23 kB / 0.5077 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3864, allocations: 3.938 kB / 0.5077 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.3867, allocations: 35.81 kB / 0.5078 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.3868, allocations: 8 kB / 0.5078 GB, free: 11.48 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.0001332/0.3869, allocations: 155.5 kB / 0.5079 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.387, allocations: 8 kB / 0.5079 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.387, allocations: 8.375 kB / 0.5079 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.387, allocations: 0 / 0.5079 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.387, allocations: 0 / 0.5079 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3871, allocations: 0 / 0.5079 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.3872, allocations: 205.4 kB / 0.5081 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3873, allocations: 0 / 0.5081 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.3874, allocations: 12.08 kB / 0.5082 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3874, allocations: 15.92 kB / 0.5082 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.3875, allocations: 0 / 0.5082 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3875, allocations: 0 / 0.5082 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3875, allocations: 0 / 0.5082 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/0.3883, allocations: 242.7 kB / 0.5084 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.3883, allocations: 85.02 kB / 0.5085 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.3884, allocations: 4 kB / 0.5085 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.3887, allocations: 23.97 kB / 0.5085 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.3889, allocations: 31.97 kB / 0.5085 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.3889, allocations: 7.984 kB / 0.5085 GB, free: 10.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.086e-05/0.389, allocations: 99.27 kB / 0.5086 GB, free: 10.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.389, allocations: 0 / 0.5086 GB, free: 10.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.3894, allocations: 27.94 kB / 0.5087 GB, free: 10.47 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 0.0001411/0.3896, allocations: 107.2 kB / 0.5088 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000813/0.3904, allocations: 266.7 kB / 0.509 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3904, allocations: 0 / 0.509 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.3908, allocations: 139.3 kB / 0.5092 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.3912, allocations: 12 kB / 0.5092 GB, free: 9.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/0.392, allocations: 238.2 kB / 0.5094 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.3922, allocations: 0.6885 MB / 0.5101 GB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.348e-05/0.3923, allocations: 11.98 kB / 0.5101 GB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.3924, allocations: 11.44 kB / 0.5101 GB, free: 8.914 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3924, allocations: 0 / 0.5101 GB, free: 8.914 MB / 382.1 MB Notification: Performance of Templates: time 0.007441/0.3998, allocations: 1.864 MB / 0.5119 GB, free: 7.07 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (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)