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.004296/0.004296, allocations: 98.67 kB / 15.73 MB, free: 6.062 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.001239/0.001239, allocations: 193 kB / 16.67 MB, free: 5.969 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.248/1.248, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3543/0.3543, allocations: 54.94 MB / 324.8 MB, free: 15.91 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.001461/0.001461, allocations: 65.27 kB / 456.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.09518, allocations: 59.58 MB / 0.5037 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.NumberOfRequests): time 0.002068/0.09728, allocations: 1.475 MB / 0.5051 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006417/0.09794, allocations: 0.4961 MB / 0.5056 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.09799, allocations: 5.25 kB / 0.5056 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.457e-05/0.09808, allocations: 3.938 kB / 0.5056 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.011e-05/0.09814, allocations: 17.7 kB / 0.5056 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.09833, allocations: 41.39 kB / 0.5057 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.09847, allocations: 90.64 kB / 0.5058 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.09859, allocations: 22.22 kB / 0.5058 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.0987, allocations: 46.06 kB / 0.5058 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.09878, allocations: 44.23 kB / 0.5059 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.09882, allocations: 7.688 kB / 0.5059 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.974e-05/0.09884, allocations: 8.844 kB / 0.5059 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.09888, allocations: 18.72 kB / 0.5059 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.09894, allocations: 35.08 kB / 0.5059 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.09907, allocations: 84 kB / 0.506 GB, free: 7.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.09908, allocations: 1.25 kB / 0.506 GB, free: 7.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.09909, allocations: 0 / 0.506 GB, free: 7.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.0991, allocations: 7.938 kB / 0.506 GB, free: 7.941 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.0005389/0.09965, allocations: 448.7 kB / 0.5064 GB, free: 7.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.09969, allocations: 9.625 kB / 0.5065 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.09974, allocations: 14.38 kB / 0.5065 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.09986, allocations: 192.4 kB / 0.5067 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.09988, allocations: 4.5 kB / 0.5067 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.0999, allocations: 9.875 kB / 0.5067 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.1002, allocations: 119.1 kB / 0.5068 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1002, allocations: 0 / 0.5068 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1002, allocations: 6.75 kB / 0.5068 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1002, allocations: 1.375 kB / 0.5068 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.1005, allocations: 86.8 kB / 0.5069 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.1009, allocations: 335.2 kB / 0.5072 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.1011, allocations: 101.4 kB / 0.5073 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1013, allocations: 75.42 kB / 0.5074 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1013, allocations: 5.438 kB / 0.5074 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.1016, allocations: 127.3 kB / 0.5075 GB, free: 6.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.1016, allocations: 0 / 0.5075 GB, free: 6.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006122/0.1022, allocations: 278.1 kB / 0.5078 GB, free: 6.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1023, allocations: 88.72 kB / 0.5078 GB, free: 6.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.1024, allocations: 129.1 kB / 0.508 GB, free: 6.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1024, allocations: 28.73 kB / 0.508 GB, free: 6.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.1024, allocations: 99.05 kB / 0.5081 GB, free: 6.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.1024, allocations: 20.09 kB / 0.5081 GB, free: 6.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.1025, allocations: 28.92 kB / 0.5081 GB, free: 6.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.1026, allocations: 325.9 kB / 0.5084 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.1027, allocations: 64.98 kB / 0.5085 GB, free: 5.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.1029, allocations: 65.64 kB / 0.5086 GB, free: 5.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1032, allocations: 187.9 kB / 0.5087 GB, free: 5.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1032, allocations: 0 / 0.5087 GB, free: 5.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004037/0.1036, allocations: 256.5 kB / 0.509 GB, free: 5.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.1036, allocations: 63.41 kB / 0.509 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1037, allocations: 11.88 kB / 0.5091 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1037, allocations: 3.984 kB / 0.5091 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1038, allocations: 15.98 kB / 0.5091 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1038, allocations: 0 / 0.5091 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.1039, allocations: 15.98 kB / 0.5091 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.104, allocations: 11.98 kB / 0.5091 GB, free: 5.168 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 6.71e-05/0.104, allocations: 151.5 kB / 0.5093 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.1041, allocations: 11.95 kB / 0.5093 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.1041, allocations: 12.36 kB / 0.5093 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1041, allocations: 4 kB / 0.5093 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1041, allocations: 96 / 0.5093 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1041, allocations: 3.938 kB / 0.5093 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.258e-05/0.1042, allocations: 201.5 kB / 0.5095 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1042, allocations: 0 / 0.5095 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/0.1043, allocations: 11.98 kB / 0.5095 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1043, allocations: 0 / 0.5095 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1043, allocations: 4.25 kB / 0.5095 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1043, allocations: 4 kB / 0.5095 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1043, allocations: 4 kB / 0.5095 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.1047, allocations: 250.6 kB / 0.5097 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.1047, allocations: 77.11 kB / 0.5098 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1048, allocations: 4 kB / 0.5098 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1049, allocations: 27.97 kB / 0.5098 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.105, allocations: 35.95 kB / 0.5099 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.105, allocations: 4 kB / 0.5099 GB, free: 4.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.657e-05/0.105, allocations: 99.2 kB / 0.51 GB, free: 4.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1051, allocations: 0 / 0.51 GB, free: 4.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001885/0.1052, allocations: 35.89 kB / 0.51 GB, free: 4.137 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 6.824e-05/0.1053, allocations: 95.25 kB / 0.5101 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003941/0.1057, allocations: 282.6 kB / 0.5104 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1057, allocations: 0 / 0.5104 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.1059, allocations: 131.4 kB / 0.5105 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.1061, allocations: 15.98 kB / 0.5105 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.1065, allocations: 235 kB / 0.5107 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.373e-05/0.1066, allocations: 0.6885 MB / 0.5114 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.183e-05/0.1066, allocations: 7.984 kB / 0.5114 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.1067, allocations: 15.38 kB / 0.5114 GB, free: 2.582 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1067, allocations: 0 / 0.5114 GB, free: 2.582 MB / 382.1 MB Notification: Performance of Templates: time 0.003155/0.1098, allocations: 1.875 MB / 0.5133 GB, free: 0.7305 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)