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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008022/0.0008022, allocations: 92.22 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009243/0.0009243, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5917/0.5917, allocations: 115 MB / 375.7 MB, free: 7.625 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.801e-05, allocations: 3.125 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001686/0.001704, allocations: 1.523 MB / 483 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006852/0.002389, allocations: 0.5224 MB / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.002446, allocations: 2.812 kB / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.39e-05/0.00254, allocations: 3.938 kB / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.292e-05/0.002593, allocations: 21.11 kB / 483.5 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.002844, allocations: 47.52 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.002989, allocations: 101.8 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.003073, allocations: 11.81 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.003249, allocations: 70.81 kB / 483.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.003315, allocations: 36.8 kB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.003338, allocations: 8.438 kB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.281e-05/0.003381, allocations: 10.34 kB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.003415, allocations: 19.05 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.00346, allocations: 27.69 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.003588, allocations: 78.31 kB / 483.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.00359, allocations: 1.125 kB / 483.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003591, allocations: 0 / 483.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.299e-06/0.003595, allocations: 0 / 483.9 MB, free: 10.32 MB / 410.7 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.0004462/0.004042, allocations: 475.3 kB / 484.4 MB, free: 9.867 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.004076, allocations: 9.375 kB / 484.4 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.0042, allocations: 24.06 kB / 484.4 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.004338, allocations: 139.4 kB / 484.6 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.004351, allocations: 11.86 kB / 484.6 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.004365, allocations: 10.47 kB / 484.6 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.004549, allocations: 142.9 kB / 484.7 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.004555, allocations: 0.875 kB / 484.7 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.004569, allocations: 11.16 kB / 484.7 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.004576, allocations: 1.312 kB / 484.7 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.004644, allocations: 67.33 kB / 484.8 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.00494, allocations: 308 kB / 485.1 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.005051, allocations: 95.53 kB / 485.2 MB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.501e-05/0.005116, allocations: 77.64 kB / 485.3 MB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.005127, allocations: 2.344 kB / 485.3 MB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.005257, allocations: 135.5 kB / 485.4 MB, free: 9.055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.005258, allocations: 0 / 485.4 MB, free: 9.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003166/0.005575, allocations: 267.9 kB / 485.7 MB, free: 8.891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.005609, allocations: 80.7 kB / 485.8 MB, free: 8.797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.005815, allocations: 195 kB / 485.9 MB, free: 24.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.00583, allocations: 28.14 kB / 486 MB, free: 24.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.005884, allocations: 143.4 kB / 486.1 MB, free: 24.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.005899, allocations: 19.16 kB / 486.1 MB, free: 24.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.005941, allocations: 31.88 kB / 486.2 MB, free: 24.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.006056, allocations: 0.491 MB / 486.7 MB, free: 23.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.006131, allocations: 93.69 kB / 486.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.006196, allocations: 97.78 kB / 486.8 MB, free: 23.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.424e-05/0.00629, allocations: 141.5 kB / 487 MB, free: 23.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.006292, allocations: 0.875 kB / 487 MB, free: 23.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002195/0.006511, allocations: 275.7 kB / 487.2 MB, free: 23.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.006543, allocations: 64.56 kB / 487.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006548, allocations: 3.344 kB / 487.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.00656, allocations: 1.156 kB / 487.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.006639, allocations: 18.28 kB / 487.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.006644, allocations: 4.984 kB / 487.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.006709, allocations: 28.25 kB / 487.4 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.00672, allocations: 4.688 kB / 487.4 MB, free: 23.36 MB / 426.7 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 7.839e-05/0.006798, allocations: 194 kB / 487.6 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.006816, allocations: 20.27 kB / 487.6 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.006837, allocations: 13.66 kB / 487.6 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.006838, allocations: 0 / 487.6 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.006842, allocations: 5.125 kB / 487.6 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006845, allocations: 3.328 kB / 487.6 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.255e-05/0.006918, allocations: 133.2 kB / 487.7 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.006919, allocations: 0 / 487.7 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.006948, allocations: 14.94 kB / 487.7 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.00695, allocations: 3.094 kB / 487.7 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.006961, allocations: 4.234 kB / 487.8 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.006962, allocations: 0.5 kB / 487.8 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.006966, allocations: 6.125 kB / 487.8 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.00716, allocations: 245.8 kB / 488 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.00717, allocations: 10.7 kB / 488 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.007187, allocations: 6.531 kB / 488 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.208e-05/0.007239, allocations: 17.19 kB / 488 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.231e-05/0.007332, allocations: 41.06 kB / 488.1 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.007341, allocations: 2.781 kB / 488.1 MB, free: 22.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.855e-05/0.00739, allocations: 138.4 kB / 488.2 MB, free: 22.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00739, allocations: 0 / 488.2 MB, free: 22.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.00753, allocations: 25.78 kB / 488.2 MB, free: 22.66 MB / 426.7 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 6.594e-05/0.007596, allocations: 99.77 kB / 488.3 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.007817, allocations: 303.1 kB / 488.6 MB, free: 22.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.007818, allocations: 0.9062 kB / 488.6 MB, free: 22.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.007914, allocations: 144.2 kB / 488.8 MB, free: 22.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.008068, allocations: 21.47 kB / 488.8 MB, free: 22.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.008567, allocations: 259.5 kB / 489 MB, free: 22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.574e-05/0.008592, allocations: 68.08 kB / 489.1 MB, free: 21.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.593e-05/0.008628, allocations: 10.14 kB / 489.1 MB, free: 21.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.008663, allocations: 16.58 kB / 489.1 MB, free: 21.91 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.008664, allocations: 1.75 kB / 489.1 MB, free: 21.91 MB / 426.7 MB Notification: Performance of Templates: time 0.003638/0.0123, allocations: 2.189 MB / 491.3 MB, free: 21.73 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3786377077922225]