Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00131/0.00131, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001456/0.001456, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8247/0.8247, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 0.5067 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4645, allocations: 80.91 MB / 0.5857 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002663/0.4672, allocations: 1.467 MB / 0.5872 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007184/0.468, allocations: 461.3 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.468, allocations: 1.5 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.4681, allocations: 17.33 kB / 0.5876 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.4682, allocations: 13.2 kB / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.4684, allocations: 36.39 kB / 0.5877 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.4686, allocations: 101.8 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.4687, allocations: 16.88 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.4689, allocations: 54.52 kB / 0.5879 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.469, allocations: 35.2 kB / 0.5879 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.469, allocations: 8.188 kB / 0.5879 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.152e-05/0.469, allocations: 8.969 kB / 0.5879 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.4691, allocations: 15.45 kB / 0.5879 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.828e-05/0.4692, allocations: 43.84 kB / 0.588 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.4693, allocations: 80.55 kB / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4693, allocations: 1.75 kB / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4693, allocations: 0 / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4693, allocations: 1.375 kB / 0.588 GB, free: 23.79 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.0007134/0.4701, allocations: 451.2 kB / 0.5885 GB, free: 23.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4701, allocations: 10.08 kB / 0.5885 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.4702, allocations: 16 kB / 0.5885 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.4703, allocations: 188.7 kB / 0.5887 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.4704, allocations: 13.8 kB / 0.5887 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.4704, allocations: 5.969 kB / 0.5887 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.4707, allocations: 119.6 kB / 0.5888 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4707, allocations: 0 / 0.5888 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.4708, allocations: 4.125 kB / 0.5888 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4708, allocations: 0 / 0.5888 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.4711, allocations: 87.27 kB / 0.5889 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.4716, allocations: 341.8 kB / 0.5892 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.4719, allocations: 108.6 kB / 0.5893 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.472, allocations: 71.69 kB / 0.5894 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.4721, allocations: 0.75 kB / 0.5894 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.4724, allocations: 129.5 kB / 0.5895 GB, free: 22.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.4724, allocations: 0.625 kB / 0.5895 GB, free: 22.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006606/0.4731, allocations: 271.8 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.4731, allocations: 85.11 kB / 0.5899 GB, free: 22.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.4732, allocations: 129.7 kB / 0.59 GB, free: 22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.4732, allocations: 33.7 kB / 0.59 GB, free: 21.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.4733, allocations: 89.33 kB / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.4733, allocations: 19.88 kB / 0.5901 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.4734, allocations: 33.7 kB / 0.5901 GB, free: 21.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.4734, allocations: 323.9 kB / 0.5905 GB, free: 21.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.4736, allocations: 64.52 kB / 0.5905 GB, free: 21.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.4738, allocations: 72.48 kB / 0.5906 GB, free: 21.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.4741, allocations: 188.3 kB / 0.5908 GB, free: 21.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4741, allocations: 0 / 0.5908 GB, free: 21.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003947/0.4745, allocations: 262.3 kB / 0.591 GB, free: 20.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.4745, allocations: 65.42 kB / 0.5911 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4745, allocations: 0 / 0.5911 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.4746, allocations: 0.9688 kB / 0.5911 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4747, allocations: 15.98 kB / 0.5911 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4747, allocations: 1.062 kB / 0.5911 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.4748, allocations: 27.91 kB / 0.5911 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.4749, allocations: 5.562 kB / 0.5911 GB, free: 20.76 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.000101/0.475, allocations: 163 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.475, allocations: 13.52 kB / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.475, allocations: 12.38 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.475, allocations: 0 / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4751, allocations: 0 / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4751, allocations: 2.938 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.4752, allocations: 193.5 kB / 0.5915 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4752, allocations: 0 / 0.5915 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.4753, allocations: 11.98 kB / 0.5915 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4753, allocations: 0 / 0.5915 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.4753, allocations: 8.25 kB / 0.5915 GB, free: 20.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4753, allocations: 3.938 kB / 0.5915 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4753, allocations: 4 kB / 0.5915 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.4757, allocations: 248.9 kB / 0.5918 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.4758, allocations: 89.44 kB / 0.5918 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.4758, allocations: 5.125 kB / 0.5919 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.4759, allocations: 15.98 kB / 0.5919 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.476, allocations: 40.58 kB / 0.5919 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4761, allocations: 2.312 kB / 0.5919 GB, free: 19.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.146e-05/0.4761, allocations: 104.8 kB / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4761, allocations: 0 / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.4763, allocations: 23.94 kB / 0.592 GB, free: 19.75 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 0.0001125/0.4764, allocations: 103.9 kB / 0.5921 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.4769, allocations: 268.5 kB / 0.5924 GB, free: 19.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4769, allocations: 0 / 0.5924 GB, free: 19.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.4771, allocations: 140.9 kB / 0.5925 GB, free: 19.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.4773, allocations: 19.92 kB / 0.5925 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.4778, allocations: 216.3 kB / 0.5927 GB, free: 18.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.478, allocations: 0.6902 MB / 0.5934 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.478, allocations: 13.55 kB / 0.5934 GB, free: 18.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.4781, allocations: 15.44 kB / 0.5934 GB, free: 18.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4781, allocations: 0 / 0.5934 GB, free: 18.2 MB / 446.1 MB Notification: Performance of Templates: time 0.004057/0.4821, allocations: 1.856 MB / 0.5953 GB, free: 16.42 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)