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.001216/0.001217, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009621/0.0009625, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4153/0.4153, allocations: 55.02 MB / 325.4 MB, free: 0.7305 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.0006277/0.0006278, allocations: 19.98 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4705, allocations: 60.72 MB / 457.4 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.NumberOfRequests): time 0.002036/0.4726, allocations: 1.174 MB / 458.5 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009983/0.4737, allocations: 471.5 kB / 459 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.4737, allocations: 3.531 kB / 459 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.4739, allocations: 7.875 kB / 459 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.4739, allocations: 7.453 kB / 459 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.4742, allocations: 37.41 kB / 459.1 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.4743, allocations: 80.83 kB / 459.1 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.4745, allocations: 11.66 kB / 459.1 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.4746, allocations: 44.84 kB / 459.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.4747, allocations: 31.5 kB / 459.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.4747, allocations: 6.438 kB / 459.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.4748, allocations: 6.25 kB / 459.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.4748, allocations: 12.39 kB / 459.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.4749, allocations: 42.14 kB / 459.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.475, allocations: 51.36 kB / 459.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.475, allocations: 0 / 459.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.475, allocations: 1.219 kB / 459.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.475, allocations: 0 / 459.3 MB, free: 38.44 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.0005697/0.4756, allocations: 443.5 kB / 459.8 MB, free: 38.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.4756, allocations: 8.688 kB / 459.8 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.4757, allocations: 10.81 kB / 459.8 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.4758, allocations: 192 kB / 460 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4758, allocations: 9.656 kB / 460 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.4759, allocations: 6.312 kB / 460 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.4761, allocations: 120.2 kB / 460.1 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.4761, allocations: 0 / 460.1 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4762, allocations: 6.562 kB / 460.1 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4762, allocations: 1.781 kB / 460.1 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.4765, allocations: 104.4 kB / 460.2 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.477, allocations: 341.8 kB / 460.6 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.4773, allocations: 128.2 kB / 460.7 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.4775, allocations: 80.45 kB / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.4775, allocations: 3.406 kB / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.4778, allocations: 134.1 kB / 460.9 MB, free: 37.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.4778, allocations: 0 / 460.9 MB, free: 37.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006619/0.4785, allocations: 295.6 kB / 461.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.4786, allocations: 89.95 kB / 461.3 MB, free: 37.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.659e-05/0.4787, allocations: 130.5 kB / 461.4 MB, free: 37.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.4787, allocations: 32.45 kB / 461.4 MB, free: 37.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.4788, allocations: 89.95 kB / 461.5 MB, free: 37.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.4788, allocations: 21.52 kB / 461.5 MB, free: 37.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.4788, allocations: 2.75 kB / 461.5 MB, free: 37.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.4789, allocations: 317.4 kB / 461.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.4791, allocations: 71.69 kB / 461.9 MB, free: 36.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.4792, allocations: 77.39 kB / 462 MB, free: 36.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.4794, allocations: 117.8 kB / 462.1 MB, free: 36.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4794, allocations: 3.312 kB / 462.1 MB, free: 36.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004214/0.4798, allocations: 275.7 kB / 462.4 MB, free: 36.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.4799, allocations: 70.88 kB / 462.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4799, allocations: 0 / 462.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.4799, allocations: 1.188 kB / 462.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4801, allocations: 15.39 kB / 462.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4801, allocations: 4.344 kB / 462.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.4802, allocations: 35.47 kB / 462.5 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.4803, allocations: 8.344 kB / 462.5 MB, free: 36.49 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.4804, allocations: 155.4 kB / 462.7 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.4804, allocations: 10.98 kB / 462.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.4805, allocations: 10.91 kB / 462.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4805, allocations: 4.5 kB / 462.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4805, allocations: 0 / 462.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4805, allocations: 3.094 kB / 462.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.4806, allocations: 190.1 kB / 462.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4807, allocations: 4 kB / 462.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.4807, allocations: 18.41 kB / 462.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4808, allocations: 0 / 462.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.4808, allocations: 9.859 kB / 462.9 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4808, allocations: 0 / 462.9 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4808, allocations: 1.438 kB / 462.9 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.4813, allocations: 260.4 kB / 463.2 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.4813, allocations: 86.5 kB / 463.2 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.4814, allocations: 4.609 kB / 463.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.4815, allocations: 36.3 kB / 463.3 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.4817, allocations: 36.75 kB / 463.3 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.4817, allocations: 7.703 kB / 463.3 MB, free: 35.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.195e-05/0.4818, allocations: 98.72 kB / 463.4 MB, free: 35.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4818, allocations: 0 / 463.4 MB, free: 35.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.482, allocations: 22.78 kB / 463.5 MB, free: 35.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001103/0.4821, allocations: 103 kB / 463.6 MB, free: 35.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.4826, allocations: 278.6 kB / 463.8 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.4827, allocations: 0.8438 kB / 463.8 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.4829, allocations: 152.8 kB / 464 MB, free: 35.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.4831, allocations: 15.75 kB / 464 MB, free: 35.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/0.4837, allocations: 243.5 kB / 464.2 MB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.4838, allocations: 0.6946 MB / 464.9 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.05e-05/0.4839, allocations: 5.969 kB / 464.9 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.4839, allocations: 12.38 kB / 464.9 MB, free: 34.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4839, allocations: 4.844 kB / 464.9 MB, free: 34.72 MB / 382.1 MB Notification: Performance of Templates: time 0.004323/0.4883, allocations: 1.54 MB / 466.5 MB, free: 34.61 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: