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.01053/0.01053, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001595/0.001596, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.52/1.52, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.558/1.558, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.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.001376/0.001376, allocations: 64.47 kB / 0.7257 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7877, allocations: 104.7 MB / 0.828 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002767/0.7905, allocations: 1.481 MB / 0.8295 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0009469/0.7915, allocations: 0.5056 MB / 0.83 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.7915, allocations: 0 / 0.83 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.7917, allocations: 15.8 kB / 0.83 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.7918, allocations: 11.88 kB / 0.83 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.792, allocations: 35.94 kB / 0.83 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.7922, allocations: 107.7 kB / 0.8301 GB, free: 456 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.7924, allocations: 12.17 kB / 0.8301 GB, free: 444 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.7925, allocations: 51.83 kB / 0.8302 GB, free: 392 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.7927, allocations: 39.83 kB / 0.8302 GB, free: 352 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.7927, allocations: 12 kB / 0.8302 GB, free: 340 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.7927, allocations: 8 kB / 0.8302 GB, free: 332 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.7928, allocations: 19.92 kB / 0.8303 GB, free: 312 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 7.487e-05/0.7929, allocations: 35.86 kB / 0.8303 GB, free: 276 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.793, allocations: 79.27 kB / 0.8304 GB, free: 200 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.7931, allocations: 4 kB / 0.8304 GB, free: 196 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7931, allocations: 0 / 0.8304 GB, free: 196 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7931, allocations: 0 / 0.8304 GB, free: 196 kB / 0.6231 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.00101/0.7941, allocations: 448.9 kB / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.7942, allocations: 12.03 kB / 0.8308 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.7942, allocations: 8.844 kB / 0.8308 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.7945, allocations: 192.2 kB / 0.831 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.7945, allocations: 384 / 0.831 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.7946, allocations: 12.38 kB / 0.831 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.795, allocations: 121.7 kB / 0.8311 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.795, allocations: 0 / 0.8311 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.7951, allocations: 4 kB / 0.8311 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.7951, allocations: 0 / 0.8311 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.7954, allocations: 95.92 kB / 0.8312 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.7959, allocations: 328.6 kB / 0.8315 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.7963, allocations: 110.5 kB / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.7965, allocations: 72.94 kB / 0.8317 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.7965, allocations: 3.984 kB / 0.8317 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003366/0.7969, allocations: 119.3 kB / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.7969, allocations: 0 / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6): time 0.0006947/0.7976, allocations: 279.1 kB / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.7977, allocations: 89.09 kB / 0.8322 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.7978, allocations: 129.8 kB / 0.8323 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.7978, allocations: 25.7 kB / 0.8323 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.7979, allocations: 96.05 kB / 0.8324 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.7979, allocations: 11.84 kB / 0.8324 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.798, allocations: 37.7 kB / 0.8325 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7981, allocations: 326.8 kB / 0.8328 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.7983, allocations: 63.95 kB / 0.8328 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.7985, allocations: 67.89 kB / 0.8329 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.7988, allocations: 185.9 kB / 0.8331 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7988, allocations: 0 / 0.8331 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004562/0.7993, allocations: 260.9 kB / 0.8333 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.7993, allocations: 67.39 kB / 0.8334 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.7994, allocations: 4.25 kB / 0.8334 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.7994, allocations: 0 / 0.8334 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.7995, allocations: 15.98 kB / 0.8334 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.7995, allocations: 4 kB / 0.8334 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.7997, allocations: 23.89 kB / 0.8334 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.7997, allocations: 11.98 kB / 0.8334 GB, free: 12.74 MB / 0.6387 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.0001304/0.7998, allocations: 152.5 kB / 0.8336 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.7999, allocations: 11.91 kB / 0.8336 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.7999, allocations: 16.3 kB / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7999, allocations: 0 / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7999, allocations: 0 / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7999, allocations: 4 kB / 0.8336 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.8001, allocations: 197.5 kB / 0.8338 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8001, allocations: 0 / 0.8338 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.8002, allocations: 11.98 kB / 0.8338 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8002, allocations: 4 kB / 0.8338 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.8002, allocations: 0 / 0.8338 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8002, allocations: 0 / 0.8338 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8002, allocations: 0 / 0.8338 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.8007, allocations: 254.6 kB / 0.8341 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.8008, allocations: 85.05 kB / 0.8342 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.8008, allocations: 3.984 kB / 0.8342 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.801, allocations: 19.98 kB / 0.8342 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.8011, allocations: 39.94 kB / 0.8342 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.8011, allocations: 8 kB / 0.8342 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.8012, allocations: 101.1 kB / 0.8343 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8012, allocations: 0 / 0.8343 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002057/0.8014, allocations: 31.84 kB / 0.8343 GB, free: 11.71 MB / 0.6387 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.00012/0.8015, allocations: 103.2 kB / 0.8344 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005229/0.8021, allocations: 270.6 kB / 0.8347 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8021, allocations: 0 / 0.8347 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.8023, allocations: 135.4 kB / 0.8348 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.8026, allocations: 19.92 kB / 0.8349 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.8032, allocations: 207.4 kB / 0.835 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.8036, allocations: 0.6961 MB / 0.8357 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.735e-05/0.8037, allocations: 11.98 kB / 0.8357 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.8038, allocations: 11.44 kB / 0.8358 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.8038, allocations: 4 kB / 0.8358 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of Templates: time 0.005385/0.8092, allocations: 1.872 MB / 0.8376 GB, free: 8.32 MB / 0.6387 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)