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.001309/0.00131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001234/0.001234, allocations: 193.2 kB / 16.14 MB, free: 6.688 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.514/1.514, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7818/0.7818, allocations: 132.2 MB / 422.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.81 kB / 0.5011 GB, free: 9.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2066, allocations: 80.21 MB / 0.5794 GB, free: 9.27 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002964/0.2096, allocations: 1.531 MB / 0.5809 GB, free: 7.727 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008699/0.2105, allocations: 470.9 kB / 0.5814 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.2106, allocations: 0 / 0.5814 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2107, allocations: 3.938 kB / 0.5814 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.2108, allocations: 11.92 kB / 0.5814 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.211, allocations: 31.91 kB / 0.5814 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.2111, allocations: 95.75 kB / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2113, allocations: 8.172 kB / 0.5815 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.2114, allocations: 47.84 kB / 0.5816 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.2115, allocations: 39.83 kB / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.2116, allocations: 4 kB / 0.5816 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.2116, allocations: 4 kB / 0.5816 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.2116, allocations: 19.92 kB / 0.5816 GB, free: 7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.2117, allocations: 39.78 kB / 0.5817 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.2119, allocations: 71.77 kB / 0.5817 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2119, allocations: 0 / 0.5817 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.2119, allocations: 3.984 kB / 0.5817 GB, free: 6.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2119, allocations: 0 / 0.5817 GB, free: 6.887 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.0007838/0.2127, allocations: 446.8 kB / 0.5822 GB, free: 6.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2128, allocations: 12.03 kB / 0.5822 GB, free: 6.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.2128, allocations: 8.844 kB / 0.5822 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.213, allocations: 196.2 kB / 0.5824 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2131, allocations: 4.375 kB / 0.5824 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.2131, allocations: 8.375 kB / 0.5824 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.2134, allocations: 117.7 kB / 0.5825 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2134, allocations: 0 / 0.5825 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.2135, allocations: 4 kB / 0.5825 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2135, allocations: 0 / 0.5825 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.2138, allocations: 87.92 kB / 0.5826 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.2144, allocations: 332.7 kB / 0.5829 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.2147, allocations: 114.4 kB / 0.583 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.2149, allocations: 72.94 kB / 0.5831 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.2149, allocations: 0 / 0.5831 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003673/0.2153, allocations: 123.3 kB / 0.5832 GB, free: 5.215 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.2153, allocations: 0 / 0.5832 GB, free: 5.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007349/0.216, allocations: 283.1 kB / 0.5835 GB, free: 4.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.2161, allocations: 85.11 kB / 0.5835 GB, free: 4.824 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2162, allocations: 125.7 kB / 0.5837 GB, free: 4.691 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.2163, allocations: 33.7 kB / 0.5837 GB, free: 4.652 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.2163, allocations: 88.14 kB / 0.5838 GB, free: 4.562 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.2164, allocations: 23.73 kB / 0.5838 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.2165, allocations: 33.72 kB / 0.5838 GB, free: 4.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2166, allocations: 322.8 kB / 0.5841 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2168, allocations: 67.89 kB / 0.5842 GB, free: 4.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.217, allocations: 67.94 kB / 0.5843 GB, free: 4.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.2173, allocations: 181.9 kB / 0.5844 GB, free: 3.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.2174, allocations: 4 kB / 0.5844 GB, free: 3.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005024/0.2179, allocations: 260.8 kB / 0.5847 GB, free: 3.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.2179, allocations: 67.39 kB / 0.5848 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2179, allocations: 0 / 0.5848 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.218, allocations: 0 / 0.5848 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.2181, allocations: 15.98 kB / 0.5848 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2181, allocations: 0 / 0.5848 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.2183, allocations: 23.97 kB / 0.5848 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.2183, allocations: 7.938 kB / 0.5848 GB, free: 3.441 MB / 494.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.0001315/0.2184, allocations: 159.5 kB / 0.585 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.2185, allocations: 7.906 kB / 0.585 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.2185, allocations: 12.38 kB / 0.585 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2185, allocations: 0 / 0.585 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2185, allocations: 0 / 0.585 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2185, allocations: 0 / 0.585 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.2187, allocations: 197.5 kB / 0.5852 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2187, allocations: 0 / 0.5852 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.2188, allocations: 11.98 kB / 0.5852 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2188, allocations: 0 / 0.5852 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.2188, allocations: 8 kB / 0.5852 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2188, allocations: 3.984 kB / 0.5852 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2188, allocations: 0 / 0.5852 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.2193, allocations: 254.8 kB / 0.5854 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.2194, allocations: 92.94 kB / 0.5855 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.2194, allocations: 4 kB / 0.5855 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.2196, allocations: 23.97 kB / 0.5855 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.2197, allocations: 31.97 kB / 0.5856 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.2197, allocations: 8.062 kB / 0.5856 GB, free: 2.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.659e-05/0.2198, allocations: 102.1 kB / 0.5857 GB, free: 2.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2198, allocations: 4 kB / 0.5857 GB, free: 2.434 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000204/0.22, allocations: 23.94 kB / 0.5857 GB, free: 2.41 MB / 494.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.0001175/0.2202, allocations: 99.25 kB / 0.5858 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005271/0.2207, allocations: 274.6 kB / 0.5861 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2207, allocations: 3.938 kB / 0.5861 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.221, allocations: 139.3 kB / 0.5862 GB, free: 1.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2212, allocations: 12 kB / 0.5862 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.2219, allocations: 233.1 kB / 0.5864 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.2222, allocations: 0.6965 MB / 0.5871 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.84e-05/0.2223, allocations: 11.73 kB / 0.5871 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.2223, allocations: 11.44 kB / 0.5871 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2224, allocations: 0 / 0.5871 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of Templates: time 0.004614/0.227, allocations: 1.591 MB / 0.5887 GB, free: 15.28 MB / 0.4981 GB 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)