Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001047/0.001047, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0009502/0.0009502, allocations: 177.3 kB / 15.95 MB, free: 216 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.794/1.794, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.597/1.597, allocations: 251.9 MB / 0.51 GB, free: 4.887 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005123/0.0005123, allocations: 12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6906, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002734/0.6934, allocations: 1.179 MB / 0.7291 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.6947, allocations: 483.7 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.6947, allocations: 0 / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.6949, allocations: 3.938 kB / 0.7296 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.558e-05/0.695, allocations: 19.97 kB / 0.7296 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.6953, allocations: 27.89 kB / 0.7296 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.6955, allocations: 55.88 kB / 0.7297 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.6957, allocations: 12.17 kB / 0.7297 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.6959, allocations: 39.89 kB / 0.7297 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.6961, allocations: 39.83 kB / 0.7298 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.6961, allocations: 4 kB / 0.7298 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.492e-05/0.6961, allocations: 8 kB / 0.7298 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.6962, allocations: 7.984 kB / 0.7298 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.6963, allocations: 41.64 kB / 0.7298 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.6965, allocations: 53.86 kB / 0.7299 GB, free: 9.453 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6965, allocations: 0 / 0.7299 GB, free: 9.453 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.035e-06/0.6965, allocations: 0 / 0.7299 GB, free: 9.453 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.6965, allocations: 0 / 0.7299 GB, free: 9.453 MB / 0.545 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.001167/0.6977, allocations: 450.4 kB / 0.7303 GB, free: 8.953 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.6978, allocations: 8.031 kB / 0.7303 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.709e-05/0.6979, allocations: 8 kB / 0.7303 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.6982, allocations: 182.9 kB / 0.7305 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.6982, allocations: 7.938 kB / 0.7305 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.6983, allocations: 11.98 kB / 0.7305 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.6989, allocations: 121.6 kB / 0.7306 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6989, allocations: 0 / 0.7306 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.6989, allocations: 8 kB / 0.7306 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.699, allocations: 0 / 0.7306 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/0.6995, allocations: 107.9 kB / 0.7307 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009231/0.7005, allocations: 340.6 kB / 0.7311 GB, free: 8.078 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/0.701, allocations: 122.4 kB / 0.7312 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.7011, allocations: 4 kB / 0.7312 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005645/0.7016, allocations: 127.5 kB / 0.7313 GB, free: 7.809 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 2.334e-06/0.7017, allocations: 3.938 kB / 0.7313 GB, free: 7.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001285/0.703, allocations: 299.2 kB / 0.7316 GB, free: 7.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.7031, allocations: 89.09 kB / 0.7317 GB, free: 7.395 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.7033, allocations: 133.7 kB / 0.7318 GB, free: 7.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.7033, allocations: 25.7 kB / 0.7318 GB, free: 7.223 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.7034, allocations: 100.1 kB / 0.7319 GB, free: 7.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.7035, allocations: 19.8 kB / 0.732 GB, free: 7.102 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.7035, allocations: 4 kB / 0.732 GB, free: 7.098 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.7037, allocations: 314.8 kB / 0.7323 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.7041, allocations: 67.95 kB / 0.7323 GB, free: 6.715 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.7044, allocations: 83.94 kB / 0.7324 GB, free: 6.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.7048, allocations: 103.4 kB / 0.7325 GB, free: 6.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.7048, allocations: 0 / 0.7325 GB, free: 6.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009127/0.7057, allocations: 280.8 kB / 0.7328 GB, free: 6.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.7059, allocations: 63.39 kB / 0.7328 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7059, allocations: 0 / 0.7328 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.7059, allocations: 0 / 0.7328 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.7062, allocations: 27.98 kB / 0.7329 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.7062, allocations: 3.953 kB / 0.7329 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.7065, allocations: 31.91 kB / 0.7329 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.7065, allocations: 4.156 kB / 0.7329 GB, free: 6.086 MB / 0.545 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 ($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 0.0002265/0.7067, allocations: 154.3 kB / 0.733 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.7068, allocations: 19.84 kB / 0.7331 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/0.7069, allocations: 12.36 kB / 0.7331 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.7069, allocations: 0 / 0.7331 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.7069, allocations: 3.938 kB / 0.7331 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.7069, allocations: 8.203 kB / 0.7331 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.7072, allocations: 189.7 kB / 0.7333 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.7072, allocations: 4.094 kB / 0.7333 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.7074, allocations: 19.92 kB / 0.7333 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.7074, allocations: 4 kB / 0.7333 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.7075, allocations: 8 kB / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7075, allocations: 0 / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.7075, allocations: 3.984 kB / 0.7333 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009043/0.7084, allocations: 262.6 kB / 0.7336 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.7085, allocations: 89 kB / 0.7336 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.7086, allocations: 4 kB / 0.7336 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.7088, allocations: 19.98 kB / 0.7337 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.7091, allocations: 43.94 kB / 0.7337 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.7091, allocations: 11.94 kB / 0.7337 GB, free: 5.141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001118/0.7093, allocations: 102.6 kB / 0.7338 GB, free: 5.043 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7093, allocations: 0 / 0.7338 GB, free: 5.043 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003693/0.7097, allocations: 20 kB / 0.7338 GB, free: 5.023 MB / 0.545 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 (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 0.0001894/0.7099, allocations: 107.2 kB / 0.7339 GB, free: 4.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008644/0.7107, allocations: 278.7 kB / 0.7342 GB, free: 4.613 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7108, allocations: 0 / 0.7342 GB, free: 4.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004605/0.7112, allocations: 151.3 kB / 0.7343 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.7115, allocations: 10.03 kB / 0.7344 GB, free: 4.445 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007278/0.7122, allocations: 237.2 kB / 0.7346 GB, free: 4.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.7127, allocations: 0.7004 MB / 0.7353 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.996e-05/0.7128, allocations: 4.188 kB / 0.7353 GB, free: 3.453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.7128, allocations: 23.36 kB / 0.7353 GB, free: 3.434 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.7128, allocations: 0 / 0.7353 GB, free: 3.434 MB / 0.545 GB Notification: Performance of Templates: time 0.007108/0.7199, allocations: 1.521 MB / 0.7368 GB, free: 1.922 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) Environment - environmentSimulation: