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.0008309/0.0008311, allocations: 98.03 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.006287/0.006287, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.594/1.594, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9279/0.9279, allocations: 132.3 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003666, allocations: 9.875 kB / 0.504 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6062/0.6066, allocations: 81.58 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001978/0.6086, allocations: 1.191 MB / 0.5848 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.6095, allocations: 462.5 kB / 0.5853 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.6096, allocations: 8.531 kB / 0.5853 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.6097, allocations: 7.859 kB / 0.5853 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.6098, allocations: 9.938 kB / 0.5853 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.6101, allocations: 34.48 kB / 0.5853 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.6103, allocations: 88.28 kB / 0.5854 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.6104, allocations: 17.22 kB / 0.5854 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.6105, allocations: 41.55 kB / 0.5855 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.6107, allocations: 38.2 kB / 0.5855 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.6107, allocations: 3.688 kB / 0.5855 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.6107, allocations: 4.906 kB / 0.5855 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.6108, allocations: 10.36 kB / 0.5855 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/0.6109, allocations: 58.73 kB / 0.5856 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.611, allocations: 72.31 kB / 0.5856 GB, free: 2.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6111, allocations: 0.8125 kB / 0.5856 GB, free: 2.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6111, allocations: 3.938 kB / 0.5856 GB, free: 2.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.6111, allocations: 4 kB / 0.5857 GB, free: 2.633 MB / 430.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.0007367/0.6118, allocations: 438.3 kB / 0.5861 GB, free: 2.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.6119, allocations: 17.31 kB / 0.5861 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.6119, allocations: 11.44 kB / 0.5861 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.6121, allocations: 194.9 kB / 0.5863 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.6121, allocations: 7.5 kB / 0.5863 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.6122, allocations: 10.5 kB / 0.5863 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.6126, allocations: 120.7 kB / 0.5864 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.6126, allocations: 0 / 0.5864 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.6126, allocations: 7.016 kB / 0.5864 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.6126, allocations: 0.7812 kB / 0.5864 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.613, allocations: 108.2 kB / 0.5865 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000632/0.6136, allocations: 346.5 kB / 0.5869 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.614, allocations: 119.7 kB / 0.587 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.6143, allocations: 79.53 kB / 0.587 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.6143, allocations: 0 / 0.587 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004059/0.6147, allocations: 136.1 kB / 0.5872 GB, free: 1.441 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.6147, allocations: 0 / 0.5872 GB, free: 1.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008793/0.6156, allocations: 300.2 kB / 0.5875 GB, free: 1.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.6157, allocations: 82.59 kB / 0.5875 GB, free: 1.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.6158, allocations: 131.9 kB / 0.5877 GB, free: 1.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.6158, allocations: 28.61 kB / 0.5877 GB, free: 1.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.6159, allocations: 97.69 kB / 0.5878 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.6159, allocations: 22.09 kB / 0.5878 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.616, allocations: 14.89 kB / 0.5878 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.616, allocations: 323.1 kB / 0.5881 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.6163, allocations: 74.34 kB / 0.5882 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.6165, allocations: 77.45 kB / 0.5883 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.6169, allocations: 200.5 kB / 0.5885 GB, free: 488 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6169, allocations: 4 kB / 0.5885 GB, free: 484 kB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005628/0.6175, allocations: 268.2 kB / 0.5887 GB, free: 348 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.547e-05/0.6176, allocations: 66.19 kB / 0.5888 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6176, allocations: 4.062 kB / 0.5888 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.6176, allocations: 6.078 kB / 0.5888 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.6177, allocations: 17.06 kB / 0.5888 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.6178, allocations: 1.297 kB / 0.5888 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.6179, allocations: 39.42 kB / 0.5889 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.618, allocations: 7.594 kB / 0.5889 GB, free: 256 kB / 430.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.0001089/0.6181, allocations: 159.7 kB / 0.589 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.6181, allocations: 9.25 kB / 0.589 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.6182, allocations: 11.88 kB / 0.589 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.6182, allocations: 1.781 kB / 0.589 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.6182, allocations: 0 / 0.589 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6182, allocations: 0.7031 kB / 0.589 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.6184, allocations: 196.1 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6184, allocations: 0 / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.6185, allocations: 20 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.6186, allocations: 1.234 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.6186, allocations: 7 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6186, allocations: 0.5938 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6186, allocations: 1.641 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.6192, allocations: 262.4 kB / 0.5895 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.6193, allocations: 83.89 kB / 0.5896 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.6193, allocations: 8.281 kB / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.6195, allocations: 28.44 kB / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.6196, allocations: 34.8 kB / 0.5897 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.6197, allocations: 7.406 kB / 0.5897 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.919e-05/0.6197, allocations: 96.67 kB / 0.5897 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6197, allocations: 0 / 0.5897 GB, free: 15.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.62, allocations: 30.39 kB / 0.5898 GB, free: 15.51 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.0001655/0.6201, allocations: 95.7 kB / 0.5899 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.6208, allocations: 286.9 kB / 0.5901 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6208, allocations: 0.5 kB / 0.5901 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.6212, allocations: 147 kB / 0.5903 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.6214, allocations: 17.78 kB / 0.5903 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000714/0.6222, allocations: 245.5 kB / 0.5905 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.6225, allocations: 0.6912 MB / 0.5912 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.6226, allocations: 11.98 kB / 0.5912 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.6226, allocations: 10.22 kB / 0.5912 GB, free: 14.28 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.6226, allocations: 1.469 kB / 0.5912 GB, free: 14.28 MB / 446.1 MB Notification: Performance of Templates: time 0.00572/0.6283, allocations: 1.574 MB / 0.5928 GB, free: 14.14 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)