Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001662/0.001662, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.002066/0.002066, allocations: 190 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8212/0.8212, allocations: 132.2 MB / 423.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.89 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.484, allocations: 80.18 MB / 0.5807 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002445/0.4865, allocations: 1.464 MB / 0.5822 GB, free: 26.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007034/0.4872, allocations: 472.8 kB / 0.5826 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.4873, allocations: 0 / 0.5826 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.726e-05/0.4874, allocations: 9.281 kB / 0.5826 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.4874, allocations: 13.66 kB / 0.5826 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.4876, allocations: 37.91 kB / 0.5827 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.4878, allocations: 104.2 kB / 0.5828 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.4879, allocations: 20.59 kB / 0.5828 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.4881, allocations: 41.88 kB / 0.5828 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.4881, allocations: 48.94 kB / 0.5829 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.4882, allocations: 7.312 kB / 0.5829 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.99e-05/0.4882, allocations: 11.25 kB / 0.5829 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.4882, allocations: 15.05 kB / 0.5829 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.4883, allocations: 36.08 kB / 0.5829 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.4884, allocations: 82.72 kB / 0.583 GB, free: 25.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.4884, allocations: 0 / 0.583 GB, free: 25.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.4884, allocations: 3.094 kB / 0.583 GB, free: 25.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.4885, allocations: 0 / 0.583 GB, free: 25.78 MB / 446.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.0006224/0.4891, allocations: 446.6 kB / 0.5834 GB, free: 25.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4891, allocations: 14.11 kB / 0.5835 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.623e-05/0.4892, allocations: 10.59 kB / 0.5835 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.4894, allocations: 193.8 kB / 0.5837 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.4894, allocations: 7.094 kB / 0.5837 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.4894, allocations: 7.906 kB / 0.5837 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.4898, allocations: 119 kB / 0.5838 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4898, allocations: 4.719 kB / 0.5838 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.4898, allocations: 2.562 kB / 0.5838 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4898, allocations: 1.812 kB / 0.5838 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.4901, allocations: 89.42 kB / 0.5839 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.4906, allocations: 331.9 kB / 0.5842 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.491, allocations: 104.2 kB / 0.5843 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.4912, allocations: 76.84 kB / 0.5844 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.4912, allocations: 1.281 kB / 0.5844 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.4915, allocations: 127.7 kB / 0.5845 GB, free: 24.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.4915, allocations: 6.516 kB / 0.5845 GB, free: 24.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007616/0.4923, allocations: 266.6 kB / 0.5847 GB, free: 24.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.4923, allocations: 89.91 kB / 0.5848 GB, free: 24.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.4924, allocations: 132.9 kB / 0.585 GB, free: 24.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.4924, allocations: 37.34 kB / 0.585 GB, free: 24.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.4925, allocations: 86.61 kB / 0.5851 GB, free: 23.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.4925, allocations: 17.81 kB / 0.5851 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.4926, allocations: 32.23 kB / 0.5851 GB, free: 23.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.4926, allocations: 326.6 kB / 0.5854 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.4928, allocations: 62.14 kB / 0.5855 GB, free: 23.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.493, allocations: 67.27 kB / 0.5856 GB, free: 23.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.4934, allocations: 184.1 kB / 0.5857 GB, free: 23.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4934, allocations: 2.5 kB / 0.5857 GB, free: 23.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004826/0.4939, allocations: 261.5 kB / 0.586 GB, free: 23.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.4939, allocations: 68.02 kB / 0.5861 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4939, allocations: 0 / 0.5861 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4939, allocations: 1.812 kB / 0.5861 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4941, allocations: 12.86 kB / 0.5861 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4941, allocations: 1.219 kB / 0.5861 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4943, allocations: 26.64 kB / 0.5861 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.4943, allocations: 8.391 kB / 0.5861 GB, free: 23.14 MB / 446.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 0.0001104/0.4944, allocations: 160.9 kB / 0.5863 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.4944, allocations: 13.59 kB / 0.5863 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.4945, allocations: 14.89 kB / 0.5863 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4945, allocations: 0 / 0.5863 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.4945, allocations: 1.312 kB / 0.5863 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4945, allocations: 2.25 kB / 0.5863 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.4946, allocations: 196.5 kB / 0.5865 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4947, allocations: 256 / 0.5865 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-05/0.4948, allocations: 17.67 kB / 0.5865 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4948, allocations: 0 / 0.5865 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.4948, allocations: 7.688 kB / 0.5865 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4948, allocations: 5.109 kB / 0.5865 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4948, allocations: 0 / 0.5865 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.4953, allocations: 246.9 kB / 0.5867 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.4953, allocations: 85.64 kB / 0.5868 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.4954, allocations: 5.609 kB / 0.5868 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.4955, allocations: 16.3 kB / 0.5868 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.4956, allocations: 44.67 kB / 0.5869 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.4957, allocations: 6.656 kB / 0.5869 GB, free: 22.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.213e-05/0.4957, allocations: 99.64 kB / 0.587 GB, free: 22.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4957, allocations: 0 / 0.587 GB, free: 22.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.496, allocations: 28.81 kB / 0.587 GB, free: 22.32 MB / 446.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.817e-05/0.4961, allocations: 100.1 kB / 0.5871 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005114/0.4966, allocations: 265.1 kB / 0.5874 GB, free: 22.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4966, allocations: 1.625 kB / 0.5874 GB, free: 22.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.4969, allocations: 142.6 kB / 0.5875 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.4971, allocations: 18.62 kB / 0.5875 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.4977, allocations: 242.5 kB / 0.5877 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.4979, allocations: 0.69 MB / 0.5884 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.4979, allocations: 16.47 kB / 0.5884 GB, free: 21.02 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4979, allocations: 0.5 kB / 0.5884 GB, free: 21.02 MB / 446.1 MB Notification: Performance of Templates: time 0.003306/0.5012, allocations: 1.438 MB / 0.5898 GB, free: 20.34 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)