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-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_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.0009688/0.0009688, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009092/0.0009094, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9313/0.9313, allocations: 135.2 MB / 426.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 8 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1788, allocations: 82.3 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001767/0.1807, allocations: 1.175 MB / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006892/0.1814, allocations: 423.4 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.1814, allocations: 3.938 kB / 0.5887 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.722e-05/0.1815, allocations: 4 kB / 0.5887 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.1816, allocations: 15.91 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1818, allocations: 31.95 kB / 0.5888 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.1819, allocations: 47.94 kB / 0.5888 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.182, allocations: 12.17 kB / 0.5888 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1822, allocations: 43.83 kB / 0.5889 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.468e-05/0.1823, allocations: 35.91 kB / 0.5889 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.1823, allocations: 7.938 kB / 0.5889 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.1823, allocations: 4 kB / 0.5889 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.1824, allocations: 15.91 kB / 0.5889 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.1824, allocations: 37.7 kB / 0.589 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.513e-05/0.1825, allocations: 51.89 kB / 0.589 GB, free: 1.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1825, allocations: 0 / 0.589 GB, free: 1.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1825, allocations: 0 / 0.589 GB, free: 1.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1826, allocations: 3.938 kB / 0.589 GB, free: 1.215 MB / 494.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.0006795/0.1832, allocations: 442.8 kB / 0.5895 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1833, allocations: 8.031 kB / 0.5895 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.1833, allocations: 15.83 kB / 0.5895 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1836, allocations: 190.9 kB / 0.5897 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1836, allocations: 4 kB / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.1836, allocations: 8 kB / 0.5897 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.1839, allocations: 129.6 kB / 0.5898 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1839, allocations: 0 / 0.5898 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.184, allocations: 3.984 kB / 0.5898 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.184, allocations: 4 kB / 0.5898 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.1843, allocations: 103.9 kB / 0.5899 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.1849, allocations: 340.7 kB / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.1852, allocations: 114.5 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1852, allocations: 0 / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003328/0.1855, allocations: 135.4 kB / 0.5905 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1855, allocations: 3.938 kB / 0.5905 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006936/0.1862, allocations: 295.4 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.1863, allocations: 89.09 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.1864, allocations: 129.2 kB / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1865, allocations: 33.7 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.1865, allocations: 96.03 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1866, allocations: 19.75 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.1866, allocations: 4 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1867, allocations: 322.8 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.1869, allocations: 75.95 kB / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.1871, allocations: 67.95 kB / 0.5916 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.1873, allocations: 119.3 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1873, allocations: 4 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005049/0.1878, allocations: 277 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.1879, allocations: 63.41 kB / 0.592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1879, allocations: 4.062 kB / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1879, allocations: 4 kB / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.188, allocations: 23.91 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.188, allocations: 4 kB / 0.592 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1882, allocations: 27.98 kB / 0.5921 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1882, allocations: 3.953 kB / 0.5921 GB, free: 13.84 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.1884, allocations: 159.5 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.1884, allocations: 7.906 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.1884, allocations: 16.36 kB / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1885, allocations: 0 / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1885, allocations: 0 / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1885, allocations: 0 / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.1886, allocations: 193.6 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1886, allocations: 0 / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-05/0.1887, allocations: 19.98 kB / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1887, allocations: 0 / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1888, allocations: 4 kB / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1888, allocations: 0 / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1888, allocations: 0 / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.1893, allocations: 266.5 kB / 0.5927 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.1893, allocations: 88.95 kB / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1894, allocations: 4 kB / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1895, allocations: 31.97 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.1896, allocations: 35.95 kB / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1897, allocations: 4 kB / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.1897, allocations: 103.2 kB / 0.593 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1898, allocations: 0 / 0.593 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002051/0.19, allocations: 24 kB / 0.593 GB, free: 12.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001134/0.1901, allocations: 95.25 kB / 0.5931 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005087/0.1906, allocations: 290.6 kB / 0.5933 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1906, allocations: 0 / 0.5933 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.1909, allocations: 147.3 kB / 0.5935 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.1911, allocations: 15.95 kB / 0.5935 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.1916, allocations: 237.4 kB / 0.5937 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1919, allocations: 0.6926 MB / 0.5944 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.241e-05/0.1919, allocations: 12.17 kB / 0.5944 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.192, allocations: 7.438 kB / 0.5944 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.192, allocations: 3.938 kB / 0.5944 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.00409/0.1961, allocations: 1.529 MB / 0.5959 GB, free: 9.699 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: