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.001607/0.001607, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 190.6 kB / 16.25 MB, free: 6.574 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.52/1.52, allocations: 205.1 MB / 222.1 MB, free: 4.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4885/0.4885, allocations: 54.93 MB / 324.4 MB, free: 76 kB / 254.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.001388/0.001388, allocations: 67.91 kB / 394.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1736, allocations: 59.59 MB / 454.5 MB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.NumberOfRequests): time 0.3074/0.4811, allocations: 1.525 MB / 456 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000784/0.4819, allocations: 0.4915 MB / 456.5 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.4819, allocations: 3.438 kB / 456.5 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.4822, allocations: 2.688 kB / 456.5 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.378e-05/0.4822, allocations: 14.09 kB / 456.5 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.4825, allocations: 30.66 kB / 456.5 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.4826, allocations: 103.1 kB / 456.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.4828, allocations: 9.719 kB / 456.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.4829, allocations: 49.34 kB / 456.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.483, allocations: 44.75 kB / 456.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.483, allocations: 9.375 kB / 456.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.945e-05/0.483, allocations: 8.75 kB / 456.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.4831, allocations: 17.94 kB / 456.8 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.4832, allocations: 39.06 kB / 456.8 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.4833, allocations: 80.09 kB / 456.9 MB, free: 38.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4833, allocations: 1.469 kB / 456.9 MB, free: 38.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4833, allocations: 0 / 456.9 MB, free: 38.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4833, allocations: 0.5625 kB / 456.9 MB, free: 38.59 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.0006431/0.484, allocations: 452.7 kB / 457.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.484, allocations: 10.28 kB / 457.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.4841, allocations: 11.25 kB / 457.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.4843, allocations: 187.7 kB / 457.5 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4843, allocations: 5.281 kB / 457.5 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.4843, allocations: 10.62 kB / 457.5 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.4846, allocations: 115.5 kB / 457.7 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.4846, allocations: 2.281 kB / 457.7 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.4847, allocations: 2.875 kB / 457.7 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.4847, allocations: 1.031 kB / 457.7 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.4849, allocations: 91.52 kB / 457.8 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.4854, allocations: 346.1 kB / 458.1 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.4858, allocations: 109.8 kB / 458.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.4859, allocations: 71.62 kB / 458.3 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.486, allocations: 0 / 458.3 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.4863, allocations: 127.3 kB / 458.4 MB, free: 37.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4863, allocations: 1.25 kB / 458.4 MB, free: 37.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006916/0.487, allocations: 267.9 kB / 458.7 MB, free: 37.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.487, allocations: 88.02 kB / 458.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.4872, allocations: 132 kB / 458.9 MB, free: 37.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4872, allocations: 29.02 kB / 458.9 MB, free: 37.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.4873, allocations: 94.5 kB / 459 MB, free: 37.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.4873, allocations: 16.84 kB / 459 MB, free: 37.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.4874, allocations: 31.88 kB / 459 MB, free: 37.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4875, allocations: 324.7 kB / 459.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.4877, allocations: 61.45 kB / 459.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.4878, allocations: 71.17 kB / 459.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.4881, allocations: 180 kB / 459.7 MB, free: 36.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4881, allocations: 0.625 kB / 459.7 MB, free: 36.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004365/0.4886, allocations: 261.2 kB / 459.9 MB, free: 36.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.505e-05/0.4886, allocations: 69.25 kB / 460 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4887, allocations: 1.844 kB / 460 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4887, allocations: 0 / 460 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.4888, allocations: 18.77 kB / 460 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.4888, allocations: 0.5469 kB / 460 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.489, allocations: 31.73 kB / 460 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.489, allocations: 2.75 kB / 460 MB, free: 36.59 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 9.884e-05/0.4891, allocations: 159.5 kB / 460.2 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.4891, allocations: 5.875 kB / 460.2 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.4892, allocations: 11.77 kB / 460.2 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4892, allocations: 2.25 kB / 460.2 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4892, allocations: 0.8125 kB / 460.2 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4892, allocations: 0 / 460.2 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.4893, allocations: 206.5 kB / 460.4 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4893, allocations: 1.031 kB / 460.4 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.4894, allocations: 13.81 kB / 460.4 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4894, allocations: 9.125 kB / 460.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4894, allocations: 0.5 kB / 460.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4894, allocations: 1 kB / 460.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4895, allocations: 0 / 460.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.4899, allocations: 249.5 kB / 460.7 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.4899, allocations: 83.17 kB / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.4899, allocations: 12.61 kB / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.4901, allocations: 18.67 kB / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.4902, allocations: 35.55 kB / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.4902, allocations: 5.469 kB / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.992e-05/0.4903, allocations: 101.9 kB / 460.9 MB, free: 35.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4903, allocations: 0 / 460.9 MB, free: 35.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001973/0.4905, allocations: 27.78 kB / 461 MB, free: 35.96 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.0001054/0.4906, allocations: 104.5 kB / 461.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00047/0.4911, allocations: 264.1 kB / 461.3 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4911, allocations: 2.5 kB / 461.3 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.4913, allocations: 137.6 kB / 461.5 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.4915, allocations: 18.66 kB / 461.5 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.492, allocations: 245.9 kB / 461.7 MB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.4922, allocations: 0.6901 MB / 462.4 MB, free: 34.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.38e-05/0.4923, allocations: 10.5 kB / 462.4 MB, free: 34.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.4923, allocations: 20.69 kB / 462.4 MB, free: 34.84 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4923, allocations: 0 / 462.4 MB, free: 34.84 MB / 382.1 MB Notification: Performance of Templates: time 0.004219/0.4965, allocations: 1.685 MB / 464.1 MB, free: 34.74 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)