Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001184/0.001184, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001426/0.001426, allocations: 177 kB / 23.36 MB, free: 1.137 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.9195/0.9195, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001662/0.001662, allocations: 242.7 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7268/0.7268, allocations: 138.4 MB / 402.2 MB, free: 0.5508 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 462.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.192e-05, allocations: 2.312 kB / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.001946/0.001958, allocations: 1.566 MB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007324/0.00269, allocations: 0.5214 MB / 464.4 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.002747, allocations: 0.5469 kB / 464.4 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.654e-05/0.002834, allocations: 7.281 kB / 464.4 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.002883, allocations: 19.41 kB / 464.4 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.003093, allocations: 45.2 kB / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.003244, allocations: 105.6 kB / 464.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.582e-05/0.00332, allocations: 13.98 kB / 464.6 MB, free: 15.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.003492, allocations: 76.45 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.003565, allocations: 34.55 kB / 464.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.003584, allocations: 7.562 kB / 464.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.299e-05/0.003637, allocations: 12.06 kB / 464.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.003668, allocations: 15.36 kB / 464.7 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.003708, allocations: 30.44 kB / 464.8 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.003837, allocations: 75.52 kB / 464.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003839, allocations: 0.7969 kB / 464.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.00384, allocations: 1.094 kB / 464.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.003843, allocations: 1.156 kB / 464.8 MB, free: 15.35 MB / 426.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.0003926/0.004236, allocations: 357 kB / 465.2 MB, free: 15.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.004265, allocations: 10.31 kB / 465.2 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.004376, allocations: 22.59 kB / 465.2 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.004508, allocations: 129.2 kB / 465.3 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.00452, allocations: 10.52 kB / 465.3 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.004532, allocations: 5.281 kB / 465.4 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.004693, allocations: 131.4 kB / 465.5 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.004699, allocations: 1.281 kB / 465.5 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.004709, allocations: 5.969 kB / 465.5 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.004713, allocations: 1.859 kB / 465.5 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.792e-05/0.004771, allocations: 58.55 kB / 465.5 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.005019, allocations: 190.3 kB / 465.7 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.693e-05/0.005106, allocations: 77.75 kB / 465.8 MB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.005149, allocations: 56.67 kB / 465.9 MB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.005159, allocations: 1.375 kB / 465.9 MB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.005289, allocations: 119.8 kB / 466 MB, free: 14.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.005291, allocations: 1.25 kB / 466 MB, free: 14.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001984/0.005489, allocations: 197.2 kB / 466.2 MB, free: 14.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.005529, allocations: 80.98 kB / 466.3 MB, free: 14.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.005601, allocations: 145.1 kB / 466.4 MB, free: 14.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.005617, allocations: 29.44 kB / 466.4 MB, free: 14.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.005658, allocations: 94.09 kB / 466.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.005674, allocations: 22.17 kB / 466.5 MB, free: 13.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.005717, allocations: 27.81 kB / 466.6 MB, free: 13.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.748e-05/0.005794, allocations: 320.1 kB / 466.9 MB, free: 13.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.005849, allocations: 80.06 kB / 467 MB, free: 13.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.005899, allocations: 82.39 kB / 467 MB, free: 13.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.207e-05/0.005991, allocations: 142.9 kB / 467.2 MB, free: 13.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.005993, allocations: 2.844 kB / 467.2 MB, free: 13.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001396/0.006132, allocations: 204.9 kB / 467.4 MB, free: 13.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.006168, allocations: 66.08 kB / 467.4 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.006173, allocations: 0 / 467.4 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.006185, allocations: 3.297 kB / 467.4 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.00625, allocations: 19.45 kB / 467.5 MB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006253, allocations: 6.281 kB / 467.5 MB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.00632, allocations: 22.67 kB / 467.5 MB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.006334, allocations: 7.812 kB / 467.5 MB, free: 13.06 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.687e-05/0.00641, allocations: 151.2 kB / 467.7 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.006428, allocations: 15.16 kB / 467.7 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.006449, allocations: 12.42 kB / 467.7 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006451, allocations: 1.375 kB / 467.7 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.006453, allocations: 0.6562 kB / 467.7 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.006456, allocations: 1.156 kB / 467.7 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.213e-05/0.006528, allocations: 85.73 kB / 467.8 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006529, allocations: 0.5625 kB / 467.8 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.772e-05/0.006557, allocations: 9.578 kB / 467.8 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006559, allocations: 2.312 kB / 467.8 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.006569, allocations: 3.031 kB / 467.8 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.006571, allocations: 3.938 kB / 467.8 MB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.006572, allocations: 4.047 kB / 467.8 MB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.006705, allocations: 168.6 kB / 468 MB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.006714, allocations: 9.141 kB / 468 MB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.006732, allocations: 8.656 kB / 468 MB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.743e-05/0.00678, allocations: 22.73 kB / 468 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.006858, allocations: 30.17 kB / 468 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.006866, allocations: 5.719 kB / 468 MB, free: 12.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.243e-05/0.006888, allocations: 28.78 kB / 468.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006888, allocations: 0 / 468.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001094/0.006998, allocations: 21.19 kB / 468.1 MB, free: 12.54 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.424e-05/0.007062, allocations: 85.78 kB / 468.2 MB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004429/0.007505, allocations: 271.6 kB / 468.4 MB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.007508, allocations: 1.719 kB / 468.4 MB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.007589, allocations: 130.5 kB / 468.6 MB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.894e-05/0.007688, allocations: 22.58 kB / 468.6 MB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.008116, allocations: 240.1 kB / 468.8 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.977e-05/0.008146, allocations: 64.81 kB / 468.9 MB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.76e-05/0.008184, allocations: 1.562 kB / 468.9 MB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.008272, allocations: 83.36 kB / 469 MB, free: 11.55 MB / 426.7 MB Notification: Performance of SimCode: time 5.52e-07/0.008272, allocations: 1.031 kB / 469 MB, free: 11.55 MB / 426.7 MB Notification: Performance of Templates: time 0.003226/0.0115, allocations: 2.1 MB / 471.1 MB, free: 9.633 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.313835882116109]