Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests") translateModel(Annex60.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 192.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.592, allocations: 205.1 MB / 222.4 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4207/0.4207, allocations: 54.95 MB / 324.7 MB, free: 15.89 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 67.91 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1539, allocations: 59.6 MB / 454.9 MB, free: 160 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.NumberOfRequests): time 0.2955/0.4495, allocations: 1.457 MB / 456.4 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.4503, allocations: 0.4925 MB / 456.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.4504, allocations: 2.969 kB / 456.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.4506, allocations: 12.22 kB / 456.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.4506, allocations: 14.91 kB / 456.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.4508, allocations: 31.05 kB / 456.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.451, allocations: 100.4 kB / 457 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.4511, allocations: 18.31 kB / 457 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.4513, allocations: 54 kB / 457.1 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.429e-05/0.4514, allocations: 41.33 kB / 457.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.4514, allocations: 9.094 kB / 457.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.111e-05/0.4514, allocations: 7.781 kB / 457.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.4515, allocations: 15.73 kB / 457.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.4516, allocations: 40.67 kB / 457.2 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.4517, allocations: 83.27 kB / 457.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4517, allocations: 0 / 457.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4518, allocations: 0 / 457.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.4518, allocations: 0.6562 kB / 457.3 MB, free: 38.82 MB / 382.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.000651/0.4524, allocations: 449.2 kB / 457.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4525, allocations: 11.56 kB / 457.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.4525, allocations: 13.88 kB / 457.8 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.4527, allocations: 185.4 kB / 457.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.4527, allocations: 2.938 kB / 457.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.4528, allocations: 9.641 kB / 458 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.4531, allocations: 119.3 kB / 458.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4531, allocations: 3.234 kB / 458.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.4531, allocations: 6.312 kB / 458.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4531, allocations: 2.5 kB / 458.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.4534, allocations: 84.64 kB / 458.2 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.4539, allocations: 338.2 kB / 458.5 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.4542, allocations: 104.6 kB / 458.6 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.4544, allocations: 82.88 kB / 458.7 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.4544, allocations: 0 / 458.7 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003488/0.4548, allocations: 125.9 kB / 458.8 MB, free: 37.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4548, allocations: 0.5 kB / 458.8 MB, free: 37.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006604/0.4555, allocations: 265.9 kB / 459.1 MB, free: 37.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.4555, allocations: 87.89 kB / 459.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.4556, allocations: 135.2 kB / 459.3 MB, free: 37.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4556, allocations: 28.58 kB / 459.3 MB, free: 37.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.4557, allocations: 94.56 kB / 459.4 MB, free: 37.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.4557, allocations: 17.06 kB / 459.4 MB, free: 37.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.4558, allocations: 32.08 kB / 459.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.4558, allocations: 325.7 kB / 459.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.456, allocations: 65.36 kB / 459.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.4562, allocations: 66.91 kB / 459.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.4565, allocations: 182.8 kB / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4565, allocations: 0 / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000445/0.457, allocations: 269 kB / 460.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.457, allocations: 62.27 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.457, allocations: 0 / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4571, allocations: 2.25 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.4572, allocations: 21.94 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4572, allocations: 2.438 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4573, allocations: 25.61 kB / 460.4 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.4574, allocations: 7.219 kB / 460.5 MB, free: 36.81 MB / 382.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.0001088/0.4575, allocations: 158.7 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.4575, allocations: 5.688 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.4576, allocations: 13.02 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4576, allocations: 3.125 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4576, allocations: 0.9375 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4576, allocations: 1.031 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.4577, allocations: 198.1 kB / 460.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4577, allocations: 0 / 460.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.4578, allocations: 11.91 kB / 460.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4578, allocations: 0 / 460.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.4578, allocations: 12.03 kB / 460.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4578, allocations: 0.5312 kB / 460.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4578, allocations: 5.562 kB / 460.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.4583, allocations: 246.5 kB / 461.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.4583, allocations: 83.45 kB / 461.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.4584, allocations: 9.844 kB / 461.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4585, allocations: 18.06 kB / 461.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4586, allocations: 36.97 kB / 461.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.4586, allocations: 4.969 kB / 461.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.351e-05/0.4587, allocations: 98.5 kB / 461.3 MB, free: 36.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4587, allocations: 0 / 461.3 MB, free: 36.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.4589, allocations: 28.67 kB / 461.4 MB, free: 36.19 MB / 382.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.0001051/0.459, allocations: 105.8 kB / 461.5 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005061/0.4595, allocations: 265.5 kB / 461.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4596, allocations: 0 / 461.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.4598, allocations: 144.9 kB / 461.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.46, allocations: 16.34 kB / 461.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.4605, allocations: 226.1 kB / 462.1 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.4607, allocations: 0.6894 MB / 462.8 MB, free: 35.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.948e-05/0.4608, allocations: 12.06 kB / 462.8 MB, free: 35.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.4608, allocations: 16.84 kB / 462.8 MB, free: 35.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4608, allocations: 2.625 kB / 462.8 MB, free: 35.09 MB / 382.1 MB Notification: Performance of Templates: time 0.004241/0.4651, allocations: 1.859 MB / 464.7 MB, free: 34.96 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)