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.007401/0.007401, allocations: 101 kB / 15.87 MB, free: 5.871 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.001218/0.001218, allocations: 198 kB / 16.79 MB, free: 5.816 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.518/1.518, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.092/1.092, allocations: 135.1 MB / 425.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.06 kB / 0.5053 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2209, allocations: 80.93 MB / 0.5843 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003213/0.2242, allocations: 1.534 MB / 0.5858 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008365/0.225, allocations: 463 kB / 0.5863 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.2251, allocations: 4 kB / 0.5863 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.2252, allocations: 4 kB / 0.5863 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.2253, allocations: 11.86 kB / 0.5863 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.2255, allocations: 31.95 kB / 0.5863 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.2256, allocations: 87.7 kB / 0.5864 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2258, allocations: 12.19 kB / 0.5864 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.2259, allocations: 43.89 kB / 0.5865 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.226, allocations: 43.83 kB / 0.5865 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.226, allocations: 4 kB / 0.5865 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.226, allocations: 4 kB / 0.5865 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.2261, allocations: 15.92 kB / 0.5865 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.921e-05/0.2262, allocations: 39.78 kB / 0.5866 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.2263, allocations: 51.91 kB / 0.5866 GB, free: 2.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2263, allocations: 0 / 0.5866 GB, free: 2.645 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2263, allocations: 0 / 0.5866 GB, free: 2.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2263, allocations: 0 / 0.5866 GB, free: 2.645 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.0008049/0.2271, allocations: 454.8 kB / 0.5871 GB, free: 2.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2272, allocations: 8.031 kB / 0.5871 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.2272, allocations: 12.83 kB / 0.5871 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.2275, allocations: 188.2 kB / 0.5873 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2275, allocations: 4.375 kB / 0.5873 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.2275, allocations: 8.375 kB / 0.5873 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.2279, allocations: 117.7 kB / 0.5874 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2279, allocations: 0 / 0.5874 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.2279, allocations: 8 kB / 0.5874 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2279, allocations: 0 / 0.5874 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.2282, allocations: 91.86 kB / 0.5875 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.2288, allocations: 332.7 kB / 0.5878 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.2291, allocations: 102.5 kB / 0.5879 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.2293, allocations: 72.94 kB / 0.588 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.2293, allocations: 0 / 0.588 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003929/0.2297, allocations: 139.1 kB / 0.5881 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.2298, allocations: 0 / 0.5881 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007514/0.2305, allocations: 271.2 kB / 0.5883 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.2306, allocations: 89.09 kB / 0.5884 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2307, allocations: 121.8 kB / 0.5886 GB, free: 460 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.2307, allocations: 29.7 kB / 0.5886 GB, free: 424 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.2308, allocations: 100 kB / 0.5887 GB, free: 320 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.2309, allocations: 19.75 kB / 0.5887 GB, free: 300 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.2309, allocations: 37.64 kB / 0.5887 GB, free: 256 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2311, allocations: 326.8 kB / 0.589 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.2313, allocations: 59.95 kB / 0.5891 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.2314, allocations: 67.95 kB / 0.5892 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.2318, allocations: 181.9 kB / 0.5893 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2318, allocations: 0 / 0.5893 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004908/0.2323, allocations: 260.8 kB / 0.5896 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.2324, allocations: 59.41 kB / 0.5896 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2324, allocations: 4.25 kB / 0.5896 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.2324, allocations: 3.984 kB / 0.5896 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2325, allocations: 19.98 kB / 0.5897 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2326, allocations: 0 / 0.5897 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.2327, allocations: 23.98 kB / 0.5897 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.2327, allocations: 7.984 kB / 0.5897 GB, free: 15.2 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.0001341/0.2329, allocations: 151.5 kB / 0.5898 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.2329, allocations: 12 kB / 0.5899 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.233, allocations: 20.3 kB / 0.5899 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.233, allocations: 3.984 kB / 0.5899 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.233, allocations: 0 / 0.5899 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.233, allocations: 3.938 kB / 0.5899 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.2332, allocations: 197.6 kB / 0.5901 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2332, allocations: 0 / 0.5901 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.2333, allocations: 11.98 kB / 0.5901 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2333, allocations: 4 kB / 0.5901 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.2333, allocations: 4 kB / 0.5901 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.2333, allocations: 0 / 0.5901 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2333, allocations: 0 / 0.5901 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.2338, allocations: 250.6 kB / 0.5903 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.2339, allocations: 92.89 kB / 0.5904 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.2339, allocations: 0 / 0.5904 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.234, allocations: 19.97 kB / 0.5904 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.2342, allocations: 43.95 kB / 0.5905 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.2342, allocations: 4 kB / 0.5905 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.074e-05/0.2343, allocations: 97.94 kB / 0.5906 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.633e-06/0.2343, allocations: 0 / 0.5906 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002053/0.2345, allocations: 31.88 kB / 0.5906 GB, free: 14.15 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.0001248/0.2346, allocations: 111.2 kB / 0.5907 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005217/0.2352, allocations: 262.7 kB / 0.591 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2352, allocations: 0 / 0.591 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.2354, allocations: 139.3 kB / 0.5911 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.2356, allocations: 15.98 kB / 0.5911 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.2362, allocations: 258.7 kB / 0.5914 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.2365, allocations: 0.6888 MB / 0.592 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.2366, allocations: 15.42 kB / 0.592 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2366, allocations: 0 / 0.592 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.003297/0.2399, allocations: 1.423 MB / 0.5934 GB, free: 11.16 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)