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.008307/0.008307, allocations: 102 kB / 15.73 MB, free: 6.035 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.001542/0.001542, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.055/1.055, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.5856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5745/0.5758, allocations: 80.9 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002576/0.5784, allocations: 1.476 MB / 0.666 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007816/0.5792, allocations: 466.5 kB / 0.6665 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.5793, allocations: 5.312 kB / 0.6665 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.5794, allocations: 7.922 kB / 0.6665 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.5795, allocations: 14.33 kB / 0.6665 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.5797, allocations: 37.39 kB / 0.6665 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.5799, allocations: 105.2 kB / 0.6666 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.58, allocations: 11.19 kB / 0.6667 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.5802, allocations: 49.98 kB / 0.6667 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.5802, allocations: 40.3 kB / 0.6667 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.5803, allocations: 7.531 kB / 0.6667 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.5803, allocations: 8.375 kB / 0.6668 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.5804, allocations: 22.48 kB / 0.6668 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.847e-05/0.5804, allocations: 41.19 kB / 0.6668 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.5806, allocations: 72.08 kB / 0.6669 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5806, allocations: 0 / 0.6669 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5806, allocations: 0 / 0.6669 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5806, allocations: 0 / 0.6669 GB, free: 5.82 MB / 0.4981 GB 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.0006663/0.5813, allocations: 450.7 kB / 0.6673 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5813, allocations: 9.094 kB / 0.6673 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.5814, allocations: 14.72 kB / 0.6673 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.5815, allocations: 197.3 kB / 0.6675 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.5816, allocations: 3.125 kB / 0.6675 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.5816, allocations: 10.25 kB / 0.6675 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.5819, allocations: 115.1 kB / 0.6676 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.5819, allocations: 0 / 0.6676 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.5819, allocations: 6.562 kB / 0.6677 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.582, allocations: 5.625 kB / 0.6677 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.5822, allocations: 94.42 kB / 0.6678 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.5827, allocations: 335.2 kB / 0.6681 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.583, allocations: 105.4 kB / 0.6682 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.5832, allocations: 75.47 kB / 0.6682 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.5832, allocations: 1.094 kB / 0.6682 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.5836, allocations: 119.5 kB / 0.6684 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.5836, allocations: 0 / 0.6684 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006787/0.5843, allocations: 277.6 kB / 0.6686 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.5843, allocations: 88.53 kB / 0.6687 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.5844, allocations: 129.5 kB / 0.6688 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.5844, allocations: 28.45 kB / 0.6689 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.5845, allocations: 95.83 kB / 0.6689 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.5845, allocations: 12.22 kB / 0.669 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.5846, allocations: 36.14 kB / 0.669 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.5846, allocations: 325 kB / 0.6693 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.5848, allocations: 66.02 kB / 0.6694 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.585, allocations: 62.3 kB / 0.6694 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.5853, allocations: 187.5 kB / 0.6696 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.5853, allocations: 4 kB / 0.6696 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004421/0.5857, allocations: 254.2 kB / 0.6699 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.5858, allocations: 67.64 kB / 0.6699 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5858, allocations: 96 / 0.6699 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5858, allocations: 5.469 kB / 0.6699 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.5859, allocations: 17.45 kB / 0.6699 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.586, allocations: 0 / 0.6699 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.5861, allocations: 33.41 kB / 0.67 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.5861, allocations: 8.312 kB / 0.67 GB, free: 3.145 MB / 0.4981 GB 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.0001021/0.5862, allocations: 156.1 kB / 0.6701 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.5863, allocations: 9.062 kB / 0.6701 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.5863, allocations: 13.55 kB / 0.6701 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5863, allocations: 1.406 kB / 0.6702 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5863, allocations: 4 kB / 0.6702 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5863, allocations: 0 / 0.6702 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.5864, allocations: 200.7 kB / 0.6703 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5864, allocations: 1.344 kB / 0.6703 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.5865, allocations: 15.92 kB / 0.6704 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.5865, allocations: 0 / 0.6704 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5866, allocations: 2.812 kB / 0.6704 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5866, allocations: 0 / 0.6704 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5866, allocations: 1.156 kB / 0.6704 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.587, allocations: 256.8 kB / 0.6706 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.5871, allocations: 80.27 kB / 0.6707 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.5871, allocations: 6.609 kB / 0.6707 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.5872, allocations: 19.86 kB / 0.6707 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.5873, allocations: 34.33 kB / 0.6707 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.5874, allocations: 3.938 kB / 0.6707 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.919e-05/0.5874, allocations: 102.8 kB / 0.6708 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5874, allocations: 4 kB / 0.6709 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002078/0.5876, allocations: 33.16 kB / 0.6709 GB, free: 2.328 MB / 0.4981 GB 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.0001025/0.5877, allocations: 101.3 kB / 0.671 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.5882, allocations: 268.4 kB / 0.6712 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5882, allocations: 1.5 kB / 0.6712 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.5884, allocations: 137.7 kB / 0.6714 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.5887, allocations: 15.14 kB / 0.6714 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.5892, allocations: 218.4 kB / 0.6716 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.5893, allocations: 0.6964 MB / 0.6723 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.815e-05/0.5894, allocations: 17.27 kB / 0.6723 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.5894, allocations: 11.69 kB / 0.6723 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.5894, allocations: 0 / 0.6723 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of Templates: time 0.004592/0.594, allocations: 1.856 MB / 0.6741 GB, free: 112 kB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)