Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00178/0.00178, allocations: 105.2 kB / 16.4 MB, free: 6.496 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.001888/0.001887, allocations: 187.9 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7638/0.7638, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 60.22 kB / 0.5576 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1872, allocations: 76.18 MB / 0.632 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002799/0.1901, allocations: 1.47 MB / 0.6335 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008188/0.1909, allocations: 466.9 kB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.191, allocations: 4 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.1911, allocations: 11.92 kB / 0.6339 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.635e-05/0.1912, allocations: 7.875 kB / 0.6339 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1914, allocations: 35.89 kB / 0.634 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.1916, allocations: 99.8 kB / 0.6341 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1917, allocations: 16.19 kB / 0.6341 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1919, allocations: 47.78 kB / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.192, allocations: 35.89 kB / 0.6342 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.192, allocations: 8 kB / 0.6342 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.209e-05/0.192, allocations: 11.94 kB / 0.6342 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.1921, allocations: 15.97 kB / 0.6342 GB, free: 2.227 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.609e-05/0.1922, allocations: 47.78 kB / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.1923, allocations: 83.7 kB / 0.6343 GB, free: 2.098 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1923, allocations: 0 / 0.6343 GB, free: 2.098 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1923, allocations: 0 / 0.6343 GB, free: 2.098 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1924, allocations: 0 / 0.6343 GB, free: 2.098 MB / 478.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.0007523/0.1931, allocations: 454.5 kB / 0.6348 GB, free: 1.594 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1932, allocations: 8.031 kB / 0.6348 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.1932, allocations: 8.938 kB / 0.6348 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1934, allocations: 188.1 kB / 0.6349 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1934, allocations: 16.36 kB / 0.635 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.1935, allocations: 4.375 kB / 0.635 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.1938, allocations: 117.8 kB / 0.6351 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1938, allocations: 0 / 0.6351 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1938, allocations: 0 / 0.6351 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1938, allocations: 0 / 0.6351 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.1941, allocations: 95.8 kB / 0.6352 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.1947, allocations: 340.7 kB / 0.6355 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.195, allocations: 106.5 kB / 0.6356 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.1952, allocations: 72.94 kB / 0.6357 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1952, allocations: 4 kB / 0.6357 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002964/0.1956, allocations: 123.3 kB / 0.6358 GB, free: 424 kB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1956, allocations: 0 / 0.6358 GB, free: 424 kB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006903/0.1963, allocations: 275.2 kB / 0.6361 GB, free: 136 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.1963, allocations: 85.11 kB / 0.6361 GB, free: 32 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1965, allocations: 132.2 kB / 0.6363 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1965, allocations: 33.7 kB / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.1966, allocations: 95.98 kB / 0.6364 GB, free: 15.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1966, allocations: 19.8 kB / 0.6364 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.1967, allocations: 29.66 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1969, allocations: 326.8 kB / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.1971, allocations: 63.95 kB / 0.6368 GB, free: 15.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.1973, allocations: 71.89 kB / 0.6369 GB, free: 15.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.1976, allocations: 177.9 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1976, allocations: 0 / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005308/0.1982, allocations: 268.8 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.1982, allocations: 63.39 kB / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1983, allocations: 0 / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1983, allocations: 0 / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1984, allocations: 20.06 kB / 0.6374 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1984, allocations: 3.938 kB / 0.6374 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1986, allocations: 23.97 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.1986, allocations: 8 kB / 0.6374 GB, free: 14.64 MB / 494.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.0001634/0.1988, allocations: 155.5 kB / 0.6376 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.1988, allocations: 11.89 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.1988, allocations: 8.375 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1988, allocations: 4 kB / 0.6376 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1989, allocations: 0 / 0.6376 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1989, allocations: 0 / 0.6376 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.199, allocations: 197.6 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.199, allocations: 0 / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.471e-05/0.1991, allocations: 15.98 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1991, allocations: 3.938 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1992, allocations: 8.25 kB / 0.6378 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1992, allocations: 0 / 0.6378 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1992, allocations: 4 kB / 0.6378 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.1997, allocations: 242.6 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.1997, allocations: 96.94 kB / 0.6381 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.1998, allocations: 4 kB / 0.6381 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1999, allocations: 15.98 kB / 0.6381 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.2, allocations: 35.95 kB / 0.6382 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2, allocations: 4 kB / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.64e-05/0.2001, allocations: 99.27 kB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2001, allocations: 0 / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.2003, allocations: 27.94 kB / 0.6383 GB, free: 13.61 MB / 494.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.000113/0.2005, allocations: 115.1 kB / 0.6384 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.201, allocations: 262.7 kB / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.201, allocations: 0 / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.2012, allocations: 135.4 kB / 0.6388 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.2015, allocations: 19.98 kB / 0.6388 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.202, allocations: 211.3 kB / 0.639 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.2023, allocations: 0.6885 MB / 0.6397 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.6e-05/0.2024, allocations: 7.984 kB / 0.6397 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.2024, allocations: 19.44 kB / 0.6397 GB, free: 12.06 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2024, allocations: 0 / 0.6397 GB, free: 12.06 MB / 494.1 MB Notification: Performance of Templates: time 0.004685/0.2071, allocations: 1.862 MB / 0.6415 GB, free: 10.21 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)