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.001117/0.001117, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.541/1.541, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.033/1.033, allocations: 135.3 MB / 427.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004173, allocations: 4 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.178, allocations: 82.3 MB / 0.5886 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001841/0.1799, allocations: 1.199 MB / 0.5898 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.1808, allocations: 459 kB / 0.5902 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.1809, allocations: 0 / 0.5902 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.959e-05/0.181, allocations: 0 / 0.5902 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1811, allocations: 11.88 kB / 0.5902 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1814, allocations: 27.97 kB / 0.5902 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1816, allocations: 99.73 kB / 0.5903 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1817, allocations: 12.19 kB / 0.5904 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.1819, allocations: 39.84 kB / 0.5904 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.182, allocations: 31.89 kB / 0.5904 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.182, allocations: 4 kB / 0.5904 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.1821, allocations: 4 kB / 0.5904 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.1821, allocations: 19.91 kB / 0.5905 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.726e-05/0.1822, allocations: 65.44 kB / 0.5905 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.1824, allocations: 51.91 kB / 0.5906 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1824, allocations: 0 / 0.5906 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1824, allocations: 0 / 0.5906 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1824, allocations: 0 / 0.5906 GB, free: 0.6289 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.0007364/0.1831, allocations: 438.9 kB / 0.591 GB, free: 144 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.1832, allocations: 12.03 kB / 0.591 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.1832, allocations: 8.844 kB / 0.591 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1835, allocations: 196.2 kB / 0.5912 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1835, allocations: 4.375 kB / 0.5912 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1836, allocations: 4.375 kB / 0.5912 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.1839, allocations: 129.7 kB / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1839, allocations: 0 / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.184, allocations: 0 / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.184, allocations: 4 kB / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.1843, allocations: 107.9 kB / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.1849, allocations: 340.7 kB / 0.5918 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.1853, allocations: 122.5 kB / 0.5919 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.1855, allocations: 76.94 kB / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1855, allocations: 0 / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.1859, allocations: 135.3 kB / 0.5921 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1859, allocations: 0 / 0.5921 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007744/0.1867, allocations: 299.2 kB / 0.5924 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.1868, allocations: 93.16 kB / 0.5924 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1869, allocations: 121.8 kB / 0.5926 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.1869, allocations: 37.7 kB / 0.5926 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.187, allocations: 99.97 kB / 0.5927 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.1871, allocations: 11.84 kB / 0.5927 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.1871, allocations: 25.7 kB / 0.5927 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1872, allocations: 322.7 kB / 0.593 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.1874, allocations: 75.89 kB / 0.5931 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.1876, allocations: 79.94 kB / 0.5932 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.188, allocations: 197.9 kB / 0.5934 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.188, allocations: 4 kB / 0.5934 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005255/0.1886, allocations: 268.9 kB / 0.5936 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.004e-05/0.1886, allocations: 67.39 kB / 0.5937 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1887, allocations: 256 / 0.5937 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1887, allocations: 4 kB / 0.5937 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1888, allocations: 19.98 kB / 0.5937 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1888, allocations: 0 / 0.5937 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.189, allocations: 35.88 kB / 0.5938 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.189, allocations: 8 kB / 0.5938 GB, free: 13.05 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.0001415/0.1892, allocations: 155.5 kB / 0.5939 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.1892, allocations: 7.906 kB / 0.5939 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.1893, allocations: 8.375 kB / 0.5939 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1893, allocations: 4 kB / 0.5939 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1893, allocations: 0 / 0.5939 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1893, allocations: 0 / 0.5939 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1894, allocations: 201.5 kB / 0.5941 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1895, allocations: 4 kB / 0.5941 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.1895, allocations: 16.08 kB / 0.5941 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1896, allocations: 3.938 kB / 0.5941 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1896, allocations: 3.984 kB / 0.5942 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1896, allocations: 4 kB / 0.5942 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1896, allocations: 0 / 0.5942 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.1901, allocations: 262.6 kB / 0.5944 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.1902, allocations: 81.05 kB / 0.5945 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.1902, allocations: 4 kB / 0.5945 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1904, allocations: 35.97 kB / 0.5945 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.1905, allocations: 31.95 kB / 0.5946 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1905, allocations: 4 kB / 0.5946 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.843e-05/0.1906, allocations: 102.8 kB / 0.5947 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1906, allocations: 0 / 0.5947 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002239/0.1908, allocations: 31.84 kB / 0.5947 GB, free: 12 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.0001184/0.191, allocations: 107.2 kB / 0.5948 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005438/0.1915, allocations: 274.7 kB / 0.595 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1915, allocations: 3.938 kB / 0.5951 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.1918, allocations: 155.3 kB / 0.5952 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.192, allocations: 8 kB / 0.5952 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005688/0.1926, allocations: 278.9 kB / 0.5955 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1929, allocations: 0.6906 MB / 0.5961 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.1929, allocations: 11.44 kB / 0.5962 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.1929, allocations: 0 / 0.5962 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.003097/0.196, allocations: 1.418 MB / 0.5975 GB, free: 8.98 MB / 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)