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.00138/0.00138, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.00146/0.00146, allocations: 169 kB / 24.25 MB, free: 312 kB / 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.984/0.984, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.598/0.598, allocations: 114.9 MB / 376 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.513e-06/1.513e-06, allocations: 0 / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.489e-05, allocations: 4.75 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001698/0.001713, allocations: 1.525 MB / 483 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006047/0.002317, allocations: 0.5075 MB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.002376, allocations: 5.062 kB / 483.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.092e-05/0.002467, allocations: 7.125 kB / 483.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.002515, allocations: 19.86 kB / 483.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.002741, allocations: 53.09 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.002877, allocations: 102.2 kB / 483.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.002962, allocations: 9.031 kB / 483.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.003123, allocations: 66.08 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.003185, allocations: 36.44 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.003205, allocations: 11.41 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-05/0.003242, allocations: 9.281 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.003275, allocations: 19.31 kB / 483.8 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.003324, allocations: 34.03 kB / 483.9 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.003463, allocations: 76.25 kB / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003465, allocations: 2.156 kB / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003466, allocations: 0 / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.00347, allocations: 3.531 kB / 483.9 MB, free: 10.38 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.000444/0.003914, allocations: 471.8 kB / 484.4 MB, free: 9.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.003953, allocations: 12.41 kB / 484.4 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.004095, allocations: 22.27 kB / 484.4 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.004264, allocations: 142.8 kB / 484.6 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.004279, allocations: 3.25 kB / 484.6 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.004297, allocations: 17.5 kB / 484.6 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.004507, allocations: 142.2 kB / 484.7 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004515, allocations: 192 / 484.7 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.004528, allocations: 5.562 kB / 484.7 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.004537, allocations: 0.5625 kB / 484.7 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.004615, allocations: 67.83 kB / 484.8 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.005042, allocations: 305.8 kB / 485.1 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.005188, allocations: 96.89 kB / 485.2 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.005277, allocations: 79.28 kB / 485.3 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.005294, allocations: 1.094 kB / 485.3 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.005489, allocations: 134.5 kB / 485.4 MB, free: 9.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.00549, allocations: 0 / 485.4 MB, free: 9.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004199/0.00591, allocations: 268.5 kB / 485.7 MB, free: 8.953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.005955, allocations: 85.55 kB / 485.8 MB, free: 8.855 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.006052, allocations: 189.7 kB / 485.9 MB, free: 8.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.006066, allocations: 32.08 kB / 486 MB, free: 8.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.00628, allocations: 141.7 kB / 486.1 MB, free: 24.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.006298, allocations: 16.97 kB / 486.1 MB, free: 24.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.006346, allocations: 38.55 kB / 486.2 MB, free: 24.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.006487, allocations: 0.49 MB / 486.7 MB, free: 23.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.938e-05/0.006576, allocations: 97.28 kB / 486.7 MB, free: 23.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.006654, allocations: 96.53 kB / 486.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.006759, allocations: 136.1 kB / 487 MB, free: 23.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006762, allocations: 1.094 kB / 487 MB, free: 23.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002526/0.007014, allocations: 271.1 kB / 487.2 MB, free: 23.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.007059, allocations: 63.38 kB / 487.3 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.007067, allocations: 2.234 kB / 487.3 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.007081, allocations: 0 / 487.3 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.007168, allocations: 22.06 kB / 487.3 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.007173, allocations: 5.047 kB / 487.3 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.007242, allocations: 23.72 kB / 487.4 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.007255, allocations: 7.969 kB / 487.4 MB, free: 23.43 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 0.0001001/0.007355, allocations: 194.4 kB / 487.6 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.007376, allocations: 17.39 kB / 487.6 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.007402, allocations: 16.25 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007404, allocations: 0 / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.007408, allocations: 1.625 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.007412, allocations: 1.156 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.686e-05/0.007509, allocations: 140.3 kB / 487.7 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.007509, allocations: 0 / 487.7 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.007539, allocations: 10.75 kB / 487.7 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.007541, allocations: 3.422 kB / 487.7 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.007553, allocations: 7.5 kB / 487.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007555, allocations: 1.375 kB / 487.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.007556, allocations: 1.531 kB / 487.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.007788, allocations: 237.8 kB / 488 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.007802, allocations: 17.73 kB / 488 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.007822, allocations: 2.75 kB / 488 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.007877, allocations: 16.98 kB / 488 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.007995, allocations: 42 kB / 488.1 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.008005, allocations: 2.688 kB / 488.1 MB, free: 22.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.317e-05/0.008068, allocations: 146.2 kB / 488.2 MB, free: 22.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008068, allocations: 0 / 488.2 MB, free: 22.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.008221, allocations: 22.59 kB / 488.2 MB, free: 22.73 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 9.824e-05/0.008319, allocations: 100.4 kB / 488.3 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.008618, allocations: 304.9 kB / 488.6 MB, free: 22.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.00862, allocations: 3.938 kB / 488.6 MB, free: 22.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.008729, allocations: 143.5 kB / 488.8 MB, free: 22.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.00891, allocations: 24.25 kB / 488.8 MB, free: 22.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.009517, allocations: 271 kB / 489.1 MB, free: 22.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.7e-05/0.009554, allocations: 60.83 kB / 489.1 MB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.79e-05/0.009591, allocations: 7.516 kB / 489.1 MB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.009632, allocations: 18.56 kB / 489.1 MB, free: 21.96 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.009633, allocations: 0 / 489.1 MB, free: 21.96 MB / 426.7 MB Notification: Performance of Templates: time 0.003802/0.01344, allocations: 2.064 MB / 491.2 MB, free: 21.82 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.3414371388498694]