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.0009782/0.0009784, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0011/0.0011, allocations: 173.1 kB / 16.27 MB, free: 6.656 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.57/1.57, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4209/0.4209, allocations: 55 MB / 325.7 MB, free: 0.543 MB / 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.0006181/0.0006183, allocations: 12 kB / 397.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4009, allocations: 60.72 MB / 458 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.NumberOfRequests): time 0.001348/0.4023, allocations: 1.199 MB / 459.2 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006818/0.403, allocations: 498.3 kB / 459.6 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.403, allocations: 2.812 kB / 459.7 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.788e-05/0.4031, allocations: 6.344 kB / 459.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.354e-05/0.4032, allocations: 7.359 kB / 459.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.4034, allocations: 33.19 kB / 459.7 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.601e-05/0.4035, allocations: 87.86 kB / 459.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.4036, allocations: 14.75 kB / 459.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4037, allocations: 44.75 kB / 459.8 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.4038, allocations: 38.84 kB / 459.9 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.4038, allocations: 6.469 kB / 459.9 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.4038, allocations: 2.781 kB / 459.9 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.4038, allocations: 14.16 kB / 459.9 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.4039, allocations: 60.75 kB / 460 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.978e-05/0.404, allocations: 79.7 kB / 460 MB, free: 38.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.404, allocations: 1.312 kB / 460 MB, free: 38.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.404, allocations: 0 / 460 MB, free: 38.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.404, allocations: 0 / 460 MB, free: 38.57 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.0005633/0.4046, allocations: 439.2 kB / 460.5 MB, free: 38.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.4047, allocations: 9.062 kB / 460.5 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.4047, allocations: 14.5 kB / 460.5 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.4048, allocations: 190.3 kB / 460.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.4049, allocations: 3.406 kB / 460.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.4049, allocations: 13.25 kB / 460.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.4052, allocations: 121.2 kB / 460.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4052, allocations: 1.25 kB / 460.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.4052, allocations: 6.906 kB / 460.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4052, allocations: 0.9375 kB / 460.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.4055, allocations: 102.1 kB / 460.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.406, allocations: 349.1 kB / 461.3 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.4063, allocations: 118.9 kB / 461.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.4065, allocations: 88.83 kB / 461.5 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.4065, allocations: 1.703 kB / 461.5 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.4068, allocations: 130.5 kB / 461.6 MB, free: 37.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.4068, allocations: 3.188 kB / 461.6 MB, free: 37.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006545/0.4075, allocations: 302.8 kB / 461.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.4075, allocations: 87.42 kB / 462 MB, free: 37.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.074e-05/0.4076, allocations: 129.6 kB / 462.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.4076, allocations: 29.58 kB / 462.1 MB, free: 37.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.4077, allocations: 101.2 kB / 462.2 MB, free: 37.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.4077, allocations: 14.16 kB / 462.2 MB, free: 37.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.4077, allocations: 21.81 kB / 462.3 MB, free: 37.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.4078, allocations: 320.5 kB / 462.6 MB, free: 36.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.408, allocations: 71.7 kB / 462.6 MB, free: 36.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.4081, allocations: 78.03 kB / 462.7 MB, free: 36.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.4085, allocations: 203.3 kB / 462.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4085, allocations: 0 / 462.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004429/0.4089, allocations: 274.1 kB / 463.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.409, allocations: 66.83 kB / 463.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.409, allocations: 0 / 463.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.409, allocations: 0 / 463.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4091, allocations: 21.78 kB / 463.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4091, allocations: 0 / 463.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.4093, allocations: 38.56 kB / 463.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.4093, allocations: 2.812 kB / 463.3 MB, free: 36.54 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 8.509e-05/0.4094, allocations: 156.5 kB / 463.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.4094, allocations: 10.95 kB / 463.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.4095, allocations: 14.06 kB / 463.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4095, allocations: 4.156 kB / 463.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4095, allocations: 4 kB / 463.5 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4095, allocations: 0 / 463.5 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.693e-05/0.4096, allocations: 194.9 kB / 463.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4096, allocations: 0 / 463.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.088e-05/0.4097, allocations: 16.22 kB / 463.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4097, allocations: 0 / 463.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4097, allocations: 5.891 kB / 463.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4097, allocations: 0 / 463.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4097, allocations: 4.953 kB / 463.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.4102, allocations: 268.6 kB / 464 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.4102, allocations: 84.67 kB / 464.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.4102, allocations: 14 kB / 464.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.4104, allocations: 23.28 kB / 464.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.4105, allocations: 39.08 kB / 464.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.4105, allocations: 2.906 kB / 464.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.873e-05/0.4106, allocations: 96.7 kB / 464.2 MB, free: 35.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4106, allocations: 0 / 464.2 MB, free: 35.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001977/0.4108, allocations: 32.28 kB / 464.3 MB, free: 35.89 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 7.703e-05/0.4108, allocations: 102.9 kB / 464.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004396/0.4113, allocations: 281.3 kB / 464.6 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4113, allocations: 0 / 464.6 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.4115, allocations: 147.4 kB / 464.8 MB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.4117, allocations: 12.91 kB / 464.8 MB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.4122, allocations: 244.7 kB / 465 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.739e-05/0.4123, allocations: 0.6893 MB / 465.7 MB, free: 34.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.787e-05/0.4123, allocations: 10.41 kB / 465.7 MB, free: 34.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.4124, allocations: 14.31 kB / 465.8 MB, free: 34.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4124, allocations: 2.062 kB / 465.8 MB, free: 34.77 MB / 382.1 MB Notification: Performance of Templates: time 0.003292/0.4157, allocations: 1.58 MB / 467.3 MB, free: 34.67 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: