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.005208/0.005208, allocations: 98.03 kB / 15.73 MB, free: 6.012 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.001121/0.001121, allocations: 194.8 kB / 16.67 MB, free: 5.926 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.519/1.519, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.577/1.577, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001497/0.001497, allocations: 67.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2086, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002582/0.2112, allocations: 1.482 MB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000806/0.2121, allocations: 0.5034 MB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.2121, allocations: 0 / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.538e-05/0.2122, allocations: 7.875 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.2123, allocations: 15.84 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.2125, allocations: 39.95 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.2127, allocations: 99.7 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2128, allocations: 16.17 kB / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.2129, allocations: 47.83 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.213, allocations: 43.83 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.213, allocations: 8 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.955e-05/0.2131, allocations: 8 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.2131, allocations: 15.98 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.2132, allocations: 39.8 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.2133, allocations: 87.62 kB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2134, allocations: 0 / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2134, allocations: 4 kB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2134, allocations: 0 / 0.8304 GB, free: 13.78 MB / 0.6544 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.0006734/0.2141, allocations: 438.7 kB / 0.8308 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2141, allocations: 12.03 kB / 0.8308 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.2142, allocations: 8.891 kB / 0.8308 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.2143, allocations: 200.2 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2144, allocations: 8.312 kB / 0.831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.2144, allocations: 12.31 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2147, allocations: 117.7 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2147, allocations: 0 / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.2147, allocations: 4 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2147, allocations: 4 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.215, allocations: 87.92 kB / 0.8312 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.2156, allocations: 324.7 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.2159, allocations: 110.4 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.2161, allocations: 72.94 kB / 0.8317 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2161, allocations: 4 kB / 0.8317 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.2165, allocations: 119.3 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.2165, allocations: 0 / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0006862/0.2172, allocations: 283.1 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.2172, allocations: 85.11 kB / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.2173, allocations: 133.8 kB / 0.8323 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.2174, allocations: 29.7 kB / 0.8323 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.2174, allocations: 100.1 kB / 0.8324 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.2175, allocations: 19.97 kB / 0.8324 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.2175, allocations: 29.7 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2176, allocations: 322.8 kB / 0.8328 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.2178, allocations: 71.94 kB / 0.8328 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.218, allocations: 59.95 kB / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.2184, allocations: 185.8 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2184, allocations: 0 / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004728/0.2189, allocations: 265 kB / 0.8333 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/0.2189, allocations: 63.41 kB / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2189, allocations: 3.984 kB / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.219, allocations: 0 / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2191, allocations: 15.98 kB / 0.8334 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.2191, allocations: 7.922 kB / 0.8334 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.2192, allocations: 27.88 kB / 0.8334 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.2193, allocations: 8 kB / 0.8335 GB, free: 10.32 MB / 0.6544 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.0001203/0.2194, allocations: 155.5 kB / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.2194, allocations: 8 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.2195, allocations: 4.375 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2195, allocations: 4 kB / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2195, allocations: 0 / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2195, allocations: 3.984 kB / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.2197, allocations: 197.5 kB / 0.8338 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2197, allocations: 4 kB / 0.8338 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/0.2198, allocations: 15.97 kB / 0.8338 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2198, allocations: 0 / 0.8338 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2198, allocations: 7.938 kB / 0.8338 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2198, allocations: 0 / 0.8338 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2198, allocations: 0 / 0.8338 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.2203, allocations: 254.6 kB / 0.8341 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.2203, allocations: 77.11 kB / 0.8342 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.2204, allocations: 8.312 kB / 0.8342 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2205, allocations: 19.97 kB / 0.8342 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.2206, allocations: 31.97 kB / 0.8342 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.2207, allocations: 11.98 kB / 0.8342 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.582e-05/0.2208, allocations: 98.36 kB / 0.8343 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2208, allocations: 0 / 0.8343 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002128/0.221, allocations: 39.89 kB / 0.8344 GB, free: 9.289 MB / 0.6544 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.0001311/0.2211, allocations: 99.25 kB / 0.8345 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005525/0.2217, allocations: 266.6 kB / 0.8347 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2217, allocations: 0 / 0.8347 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.222, allocations: 139.3 kB / 0.8348 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2222, allocations: 16 kB / 0.8349 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.2227, allocations: 223.1 kB / 0.8351 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.2231, allocations: 0.6922 MB / 0.8357 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.65e-05/0.2231, allocations: 19.73 kB / 0.8358 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.2232, allocations: 15.38 kB / 0.8358 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of SimCode: time 1.643e-06/0.2232, allocations: 0 / 0.8358 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of Templates: time 0.004885/0.2281, allocations: 1.863 MB / 0.8376 GB, free: 5.895 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (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)