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.001046/0.001046, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001047/0.001047, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.445/1.445, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4048/0.4048, allocations: 54.92 MB / 324.3 MB, free: 92 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.001488/0.001488, allocations: 67.91 kB / 394.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1377, allocations: 59.59 MB / 454.3 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.NumberOfRequests): time 0.2657/0.4034, allocations: 1.523 MB / 455.8 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.4043, allocations: 0.5016 MB / 456.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.4044, allocations: 3.031 kB / 456.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.4045, allocations: 3.75 kB / 456.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.168e-05/0.4046, allocations: 5.969 kB / 456.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.4049, allocations: 27.41 kB / 456.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.405, allocations: 97.7 kB / 456.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.4051, allocations: 12.69 kB / 456.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.4052, allocations: 41.23 kB / 456.5 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.4053, allocations: 36.88 kB / 456.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.4053, allocations: 6.5 kB / 456.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.817e-05/0.4054, allocations: 5 kB / 456.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.4054, allocations: 21.77 kB / 456.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.4055, allocations: 34.48 kB / 456.6 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.4056, allocations: 77.05 kB / 456.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4056, allocations: 0.9062 kB / 456.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.4056, allocations: 0.5625 kB / 456.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.4056, allocations: 0 / 456.6 MB, free: 38.75 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.0006504/0.4063, allocations: 456.8 kB / 457.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.4063, allocations: 10.41 kB / 457.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.4064, allocations: 13.12 kB / 457.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.4066, allocations: 186.4 kB / 457.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4066, allocations: 3.844 kB / 457.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4066, allocations: 13.05 kB / 457.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.4069, allocations: 121.2 kB / 457.4 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.407, allocations: 0 / 457.4 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.407, allocations: 0 / 457.4 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.407, allocations: 2.625 kB / 457.4 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.4073, allocations: 83.2 kB / 457.5 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.4078, allocations: 349.1 kB / 457.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.4081, allocations: 105.4 kB / 458 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.4083, allocations: 68.19 kB / 458 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.4083, allocations: 3.516 kB / 458 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.4086, allocations: 127.1 kB / 458.2 MB, free: 37.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4087, allocations: 1.719 kB / 458.2 MB, free: 37.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006174/0.4093, allocations: 272.6 kB / 458.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.4093, allocations: 83.89 kB / 458.5 MB, free: 37.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.4094, allocations: 132.5 kB / 458.6 MB, free: 37.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.4094, allocations: 28.55 kB / 458.7 MB, free: 37.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.4095, allocations: 94.28 kB / 458.7 MB, free: 37.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.4095, allocations: 20.92 kB / 458.8 MB, free: 37.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.4096, allocations: 29.56 kB / 458.8 MB, free: 37.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.4096, allocations: 322.2 kB / 459.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.4098, allocations: 65.02 kB / 459.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.41, allocations: 68.62 kB / 459.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.4103, allocations: 182.7 kB / 459.4 MB, free: 36.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4103, allocations: 0 / 459.4 MB, free: 36.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004223/0.4107, allocations: 262.3 kB / 459.7 MB, free: 36.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.4108, allocations: 67.25 kB / 459.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4108, allocations: 3.188 kB / 459.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.4108, allocations: 0 / 459.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.4109, allocations: 18.02 kB / 459.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4109, allocations: 0.625 kB / 459.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.4111, allocations: 26.83 kB / 459.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.4111, allocations: 9.688 kB / 459.8 MB, free: 36.75 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.028e-05/0.4112, allocations: 158.1 kB / 460 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.4112, allocations: 11.97 kB / 460 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.4113, allocations: 12 kB / 460 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4113, allocations: 1.922 kB / 460 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4113, allocations: 0.5 kB / 460 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4113, allocations: 1.281 kB / 460 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.4114, allocations: 195.6 kB / 460.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4114, allocations: 0 / 460.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.094e-05/0.4115, allocations: 19.48 kB / 460.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4115, allocations: 2 kB / 460.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4115, allocations: 2.906 kB / 460.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4115, allocations: 0 / 460.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4115, allocations: 0 / 460.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.412, allocations: 259.3 kB / 460.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.412, allocations: 84.34 kB / 460.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.412, allocations: 3.062 kB / 460.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.4122, allocations: 21.19 kB / 460.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.4123, allocations: 36.56 kB / 460.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4123, allocations: 2.672 kB / 460.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.393e-05/0.4124, allocations: 105.5 kB / 460.7 MB, free: 36.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4124, allocations: 0 / 460.7 MB, free: 36.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.4126, allocations: 27.41 kB / 460.7 MB, free: 36.12 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 9.075e-05/0.4127, allocations: 101.3 kB / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004351/0.4131, allocations: 268.8 kB / 461.1 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4131, allocations: 0 / 461.1 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.4134, allocations: 141.5 kB / 461.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.4136, allocations: 13.92 kB / 461.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.4141, allocations: 254.7 kB / 461.5 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.4142, allocations: 0.687 MB / 462.2 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.953e-05/0.4143, allocations: 9.781 kB / 462.2 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.4143, allocations: 10.34 kB / 462.2 MB, free: 35 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4143, allocations: 0 / 462.2 MB, free: 35 MB / 382.1 MB Notification: Performance of Templates: time 0.003875/0.4182, allocations: 1.587 MB / 463.8 MB, free: 34.89 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)