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.0009605/0.0009605, 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.0009687/0.0009687, 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 0.9764/0.9764, allocations: 177.1 MB / 204.2 MB, free: 5.141 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.6146/0.6146, allocations: 115 MB / 375.7 MB, free: 7.574 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.473e-06/1.473e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.206e-05, allocations: 5.266 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002194/0.002216, allocations: 1.528 MB / 483 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007272/0.002943, allocations: 0.5145 MB / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.003002, allocations: 0 / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.447e-05/0.003097, allocations: 7.938 kB / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.003147, allocations: 16.92 kB / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.003437, allocations: 51.44 kB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.003613, allocations: 97.62 kB / 483.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.003737, allocations: 15.36 kB / 483.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.003932, allocations: 66.81 kB / 483.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.00401, allocations: 39.33 kB / 483.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.004044, allocations: 8.531 kB / 483.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.004107, allocations: 13.48 kB / 483.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.004159, allocations: 14.78 kB / 483.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.004216, allocations: 32 kB / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.004361, allocations: 73.78 kB / 483.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.004363, allocations: 4.875 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004364, allocations: 0 / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004368, allocations: 0 / 483.9 MB, free: 10.34 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.0004919/0.00486, allocations: 479.7 kB / 484.4 MB, free: 9.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.004897, allocations: 9.25 kB / 484.4 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.005025, allocations: 24.48 kB / 484.4 MB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.005178, allocations: 145.5 kB / 484.6 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.00519, allocations: 4.688 kB / 484.6 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.005207, allocations: 10.31 kB / 484.6 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.005414, allocations: 138.9 kB / 484.7 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.005427, allocations: 3.562 kB / 484.7 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.005439, allocations: 6.938 kB / 484.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.005447, allocations: 1.125 kB / 484.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.005519, allocations: 68.86 kB / 484.8 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.005864, allocations: 305.3 kB / 485.1 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.006, allocations: 93.52 kB / 485.2 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.006066, allocations: 77.95 kB / 485.3 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.006087, allocations: 6.203 kB / 485.3 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.006222, allocations: 141 kB / 485.4 MB, free: 9.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.006224, allocations: 1.156 kB / 485.4 MB, free: 9.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003149/0.006539, allocations: 262.4 kB / 485.7 MB, free: 8.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.006574, allocations: 89.67 kB / 485.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.006868, allocations: 184.1 kB / 485.9 MB, free: 24.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006882, allocations: 28.11 kB / 486 MB, free: 24.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.006946, allocations: 146.8 kB / 486.1 MB, free: 24.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.006961, allocations: 15.69 kB / 486.1 MB, free: 24.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.007005, allocations: 35.77 kB / 486.2 MB, free: 24.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.00726, allocations: 0.4902 MB / 486.7 MB, free: 23.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.007329, allocations: 94.09 kB / 486.7 MB, free: 23.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.09e-05/0.00739, allocations: 98.58 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.007469, allocations: 140.7 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007471, allocations: 6 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001947/0.007665, allocations: 274.4 kB / 487.3 MB, free: 23.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.0077, allocations: 65.91 kB / 487.3 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007705, allocations: 336 / 487.3 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.007726, allocations: 0.9062 kB / 487.3 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.00782, allocations: 19.09 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.007825, allocations: 3.984 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.007895, allocations: 26.98 kB / 487.4 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.007908, allocations: 5.406 kB / 487.4 MB, free: 23.38 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 8.811e-05/0.007996, allocations: 198.4 kB / 487.6 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.008015, allocations: 23.27 kB / 487.6 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.008039, allocations: 12.02 kB / 487.6 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.008041, allocations: 1.75 kB / 487.6 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.008045, allocations: 0.75 kB / 487.6 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.008048, allocations: 0 / 487.6 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.181e-05/0.00812, allocations: 137.2 kB / 487.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.008121, allocations: 0 / 487.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.008149, allocations: 17.5 kB / 487.8 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.00815, allocations: 1.312 kB / 487.8 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.008163, allocations: 3.875 kB / 487.8 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.008163, allocations: 0 / 487.8 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008164, allocations: 0 / 487.8 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.008362, allocations: 241.2 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.008374, allocations: 12.48 kB / 488 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.008392, allocations: 6.656 kB / 488 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.046e-05/0.008442, allocations: 14.69 kB / 488 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.008548, allocations: 37.8 kB / 488.1 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.008559, allocations: 5.469 kB / 488.1 MB, free: 22.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.52e-05/0.008624, allocations: 144.5 kB / 488.2 MB, free: 22.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008624, allocations: 0 / 488.2 MB, free: 22.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.008794, allocations: 25.22 kB / 488.2 MB, free: 22.69 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 7.84e-05/0.008872, allocations: 100.6 kB / 488.3 MB, free: 22.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.009112, allocations: 301.6 kB / 488.6 MB, free: 22.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009113, allocations: 0.9062 kB / 488.6 MB, free: 22.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.009237, allocations: 145.9 kB / 488.8 MB, free: 22.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.00941, allocations: 19.92 kB / 488.8 MB, free: 22.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.009978, allocations: 268 kB / 489.1 MB, free: 22.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.627e-05/0.01, allocations: 63.72 kB / 489.1 MB, free: 21.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.592e-05/0.01004, allocations: 9.781 kB / 489.1 MB, free: 21.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.01008, allocations: 13.47 kB / 489.1 MB, free: 21.93 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01008, allocations: 1.469 kB / 489.1 MB, free: 21.93 MB / 426.7 MB Notification: Performance of Templates: time 0.00372/0.0138, allocations: 2.068 MB / 491.2 MB, free: 21.78 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.502078594174236]