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.001689/0.001689, allocations: 106.5 kB / 16.27 MB, free: 6.402 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.001495/0.001495, allocations: 191.2 kB / 17.2 MB, free: 5.938 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.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8367/0.8367, allocations: 135.2 MB / 426.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 59.89 kB / 0.506 GB, free: 8.391 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3759, allocations: 80.93 MB / 0.5851 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002298/0.3782, allocations: 1.458 MB / 0.5865 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006309/0.3788, allocations: 467.6 kB / 0.5869 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.3789, allocations: 1.594 kB / 0.5869 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.559e-05/0.379, allocations: 4.594 kB / 0.5869 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.982e-05/0.379, allocations: 14.52 kB / 0.5869 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.3792, allocations: 41.83 kB / 0.587 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.3794, allocations: 100 kB / 0.5871 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3795, allocations: 12.72 kB / 0.5871 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3796, allocations: 54.98 kB / 0.5871 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.3797, allocations: 40.52 kB / 0.5872 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.3797, allocations: 8.25 kB / 0.5872 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.3798, allocations: 8.406 kB / 0.5872 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.3798, allocations: 15.7 kB / 0.5872 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.3799, allocations: 39.5 kB / 0.5872 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.38, allocations: 80.58 kB / 0.5873 GB, free: 23.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.38, allocations: 0 / 0.5873 GB, free: 23.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.38, allocations: 1.156 kB / 0.5873 GB, free: 23.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.38, allocations: 0 / 0.5873 GB, free: 23.54 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.0005884/0.3806, allocations: 456.3 kB / 0.5878 GB, free: 23.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3807, allocations: 14.52 kB / 0.5878 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.3807, allocations: 10.34 kB / 0.5878 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3808, allocations: 189.6 kB / 0.588 GB, free: 22.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.3809, allocations: 8.234 kB / 0.588 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.3809, allocations: 14.97 kB / 0.588 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.3812, allocations: 115.4 kB / 0.5881 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3812, allocations: 0.75 kB / 0.5881 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3812, allocations: 6.969 kB / 0.5881 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3812, allocations: 1.062 kB / 0.5881 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.3815, allocations: 87.86 kB / 0.5882 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.382, allocations: 337.8 kB / 0.5885 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.3823, allocations: 108.8 kB / 0.5886 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.3825, allocations: 71.91 kB / 0.5887 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.3825, allocations: 4.062 kB / 0.5887 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.3828, allocations: 129.6 kB / 0.5888 GB, free: 22.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3828, allocations: 2.406 kB / 0.5888 GB, free: 22.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006607/0.3835, allocations: 270.2 kB / 0.5891 GB, free: 22.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3835, allocations: 85.11 kB / 0.5892 GB, free: 21.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.3836, allocations: 135.8 kB / 0.5893 GB, free: 21.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3836, allocations: 32.3 kB / 0.5893 GB, free: 21.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.3837, allocations: 92.17 kB / 0.5894 GB, free: 21.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3837, allocations: 19.52 kB / 0.5894 GB, free: 21.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.3838, allocations: 24.41 kB / 0.5894 GB, free: 21.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.3838, allocations: 325.3 kB / 0.5898 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.384, allocations: 67.95 kB / 0.5898 GB, free: 21.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3842, allocations: 69.34 kB / 0.5899 GB, free: 21.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.3845, allocations: 181.3 kB / 0.5901 GB, free: 21.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3845, allocations: 0 / 0.5901 GB, free: 21.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004021/0.3849, allocations: 261.2 kB / 0.5903 GB, free: 20.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.3849, allocations: 69.14 kB / 0.5904 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.385, allocations: 0 / 0.5904 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.385, allocations: 0 / 0.5904 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3851, allocations: 19.92 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3851, allocations: 1.469 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.3852, allocations: 27.84 kB / 0.5904 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.3853, allocations: 8 kB / 0.5904 GB, free: 20.75 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 7.971e-05/0.3853, allocations: 160.6 kB / 0.5906 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.3854, allocations: 8.938 kB / 0.5906 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.3854, allocations: 8.375 kB / 0.5906 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3854, allocations: 4 kB / 0.5906 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3854, allocations: 0.7188 kB / 0.5906 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3854, allocations: 0 / 0.5906 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.897e-05/0.3855, allocations: 195 kB / 0.5908 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3855, allocations: 0 / 0.5908 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.3856, allocations: 12.23 kB / 0.5908 GB, free: 20.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3856, allocations: 1.156 kB / 0.5908 GB, free: 20.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3856, allocations: 11.94 kB / 0.5908 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3856, allocations: 3.984 kB / 0.5908 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3857, allocations: 3.5 kB / 0.5908 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.386, allocations: 246.6 kB / 0.5911 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.3861, allocations: 81.02 kB / 0.5911 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.3861, allocations: 8 kB / 0.5911 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3862, allocations: 20.47 kB / 0.5912 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3864, allocations: 32.53 kB / 0.5912 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3864, allocations: 5.594 kB / 0.5912 GB, free: 19.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.724e-05/0.3864, allocations: 95.27 kB / 0.5913 GB, free: 19.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3864, allocations: 0 / 0.5913 GB, free: 19.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001932/0.3866, allocations: 35.92 kB / 0.5913 GB, free: 19.74 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 7.858e-05/0.3867, allocations: 97.28 kB / 0.5914 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004153/0.3871, allocations: 275.3 kB / 0.5917 GB, free: 19.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3871, allocations: 2.281 kB / 0.5917 GB, free: 19.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.3873, allocations: 139.3 kB / 0.5918 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.0001968/0.3875, allocations: 15.66 kB / 0.5918 GB, free: 19.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.388, allocations: 260.2 kB / 0.5921 GB, free: 18.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.3881, allocations: 0.6885 MB / 0.5927 GB, free: 18.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.3882, allocations: 16.69 kB / 0.5928 GB, free: 18.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3882, allocations: 0 / 0.5928 GB, free: 18.17 MB / 446.1 MB Notification: Performance of Templates: time 0.002582/0.3907, allocations: 1.437 MB / 0.5942 GB, free: 16.8 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)