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.001334/0.001334, allocations: 109.2 kB / 16.4 MB, free: 6.371 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.001326/0.001326, allocations: 195.7 kB / 17.33 MB, free: 5.84 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8064/0.8064, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 62.84 kB / 0.5684 GB, free: 28.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1848, allocations: 77.94 MB / 0.6445 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002745/0.1876, allocations: 1.46 MB / 0.6459 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.1885, allocations: 459 kB / 0.6464 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.1886, allocations: 0 / 0.6464 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.1887, allocations: 11.86 kB / 0.6464 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.1888, allocations: 11.88 kB / 0.6464 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1891, allocations: 35.94 kB / 0.6464 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1893, allocations: 107.7 kB / 0.6465 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1894, allocations: 8.188 kB / 0.6466 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.1896, allocations: 55.83 kB / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.1897, allocations: 43.83 kB / 0.6466 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.1897, allocations: 8 kB / 0.6467 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.1897, allocations: 8 kB / 0.6467 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.1898, allocations: 11.98 kB / 0.6467 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.1899, allocations: 47.72 kB / 0.6467 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.19, allocations: 83.7 kB / 0.6468 GB, free: 6.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.19, allocations: 0 / 0.6468 GB, free: 6.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.19, allocations: 0 / 0.6468 GB, free: 6.699 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1901, allocations: 0 / 0.6468 GB, free: 6.699 MB / 494.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.0008034/0.1909, allocations: 454.5 kB / 0.6472 GB, free: 6.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.1909, allocations: 8.625 kB / 0.6472 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.191, allocations: 8.891 kB / 0.6472 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1912, allocations: 188.3 kB / 0.6474 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1912, allocations: 4.375 kB / 0.6474 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.1913, allocations: 20.31 kB / 0.6475 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.1916, allocations: 117.7 kB / 0.6476 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1916, allocations: 0 / 0.6476 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.1916, allocations: 8 kB / 0.6476 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1917, allocations: 3.984 kB / 0.6476 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.1919, allocations: 87.92 kB / 0.6477 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.1926, allocations: 328.7 kB / 0.648 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.193, allocations: 110.4 kB / 0.6481 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.1931, allocations: 78.06 kB / 0.6482 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1932, allocations: 0 / 0.6482 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.1935, allocations: 119.3 kB / 0.6483 GB, free: 5.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1935, allocations: 0 / 0.6483 GB, free: 5.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006938/0.1942, allocations: 279.2 kB / 0.6485 GB, free: 4.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.1943, allocations: 93.03 kB / 0.6486 GB, free: 4.625 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.1944, allocations: 129.8 kB / 0.6487 GB, free: 4.488 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1944, allocations: 25.7 kB / 0.6488 GB, free: 4.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.1945, allocations: 100 kB / 0.6489 GB, free: 4.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1945, allocations: 19.89 kB / 0.6489 GB, free: 4.336 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.1946, allocations: 25.72 kB / 0.6489 GB, free: 4.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1947, allocations: 326.8 kB / 0.6492 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.1949, allocations: 67.95 kB / 0.6493 GB, free: 3.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.1951, allocations: 63.95 kB / 0.6493 GB, free: 3.848 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.1954, allocations: 190 kB / 0.6495 GB, free: 3.641 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1954, allocations: 3.938 kB / 0.6495 GB, free: 3.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004749/0.1959, allocations: 257 kB / 0.6498 GB, free: 3.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.196, allocations: 67.39 kB / 0.6498 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.196, allocations: 4.156 kB / 0.6498 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.196, allocations: 0 / 0.6498 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1961, allocations: 11.98 kB / 0.6499 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.1961, allocations: 3.984 kB / 0.6499 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1963, allocations: 27.91 kB / 0.6499 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1963, allocations: 12 kB / 0.6499 GB, free: 3.23 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.0001307/0.1965, allocations: 156.3 kB / 0.65 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1965, allocations: 11.95 kB / 0.6501 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.1965, allocations: 12.36 kB / 0.6501 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1966, allocations: 0 / 0.6501 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1966, allocations: 0 / 0.6501 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1966, allocations: 0 / 0.6501 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.1968, allocations: 197.5 kB / 0.6503 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1968, allocations: 0 / 0.6503 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.144e-05/0.1969, allocations: 16.23 kB / 0.6503 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1969, allocations: 4 kB / 0.6503 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.1969, allocations: 4 kB / 0.6503 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1969, allocations: 0 / 0.6503 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1969, allocations: 0 / 0.6503 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.1974, allocations: 250.6 kB / 0.6505 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.1975, allocations: 93.05 kB / 0.6506 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.1975, allocations: 4 kB / 0.6506 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.1977, allocations: 15.98 kB / 0.6506 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.1978, allocations: 39.89 kB / 0.6507 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1978, allocations: 8 kB / 0.6507 GB, free: 2.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.445e-05/0.1979, allocations: 98.5 kB / 0.6508 GB, free: 2.227 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1979, allocations: 0 / 0.6508 GB, free: 2.227 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002041/0.1981, allocations: 27.94 kB / 0.6508 GB, free: 2.199 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.0001432/0.1983, allocations: 107.2 kB / 0.6509 GB, free: 2.086 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005415/0.1988, allocations: 266.6 kB / 0.6512 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1988, allocations: 3.938 kB / 0.6512 GB, free: 1.797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.1991, allocations: 135.4 kB / 0.6513 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.1994, allocations: 19.98 kB / 0.6513 GB, free: 1.633 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.1999, allocations: 215.1 kB / 0.6515 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2002, allocations: 0.6924 MB / 0.6522 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.2003, allocations: 7.984 kB / 0.6522 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.2003, allocations: 15.44 kB / 0.6522 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2004, allocations: 0 / 0.6522 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of Templates: time 0.004377/0.2047, allocations: 1.865 MB / 0.654 GB, free: 14.8 MB / 0.4981 GB 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)