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.001771/0.001771, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002769/0.002769, allocations: 192.9 kB / 16.25 MB, free: 6.629 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.6 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.77 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2031, allocations: 81.02 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003454/0.2066, allocations: 1.531 MB / 0.586 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.2076, allocations: 455 kB / 0.5864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.2077, allocations: 0 / 0.5864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.2078, allocations: 3.938 kB / 0.5864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-05/0.2079, allocations: 15.86 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.2081, allocations: 23.97 kB / 0.5865 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.2083, allocations: 103.8 kB / 0.5866 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2085, allocations: 12.17 kB / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.2087, allocations: 59.77 kB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.2088, allocations: 35.89 kB / 0.5867 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.2088, allocations: 8 kB / 0.5867 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.2088, allocations: 12 kB / 0.5867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.2089, allocations: 15.92 kB / 0.5867 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.811e-05/0.209, allocations: 39.8 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.2091, allocations: 75.81 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2091, allocations: 0 / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2091, allocations: 0 / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.2092, allocations: 0 / 0.5868 GB, free: 1.906 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.0008831/0.21, allocations: 454.8 kB / 0.5872 GB, free: 1.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2101, allocations: 12.03 kB / 0.5873 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.2102, allocations: 12.83 kB / 0.5873 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.2104, allocations: 196.1 kB / 0.5875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.2104, allocations: 4.375 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.2105, allocations: 8.375 kB / 0.5875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.2108, allocations: 121.7 kB / 0.5876 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2108, allocations: 0 / 0.5876 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.2109, allocations: 4 kB / 0.5876 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2109, allocations: 0 / 0.5876 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.2112, allocations: 91.92 kB / 0.5877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.2118, allocations: 328.7 kB / 0.588 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.2121, allocations: 106.5 kB / 0.5881 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.2123, allocations: 72.94 kB / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2123, allocations: 0 / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003918/0.2127, allocations: 135.2 kB / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.2128, allocations: 0 / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007558/0.2135, allocations: 275.2 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.2136, allocations: 89.09 kB / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.2137, allocations: 128.3 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.2138, allocations: 29.7 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.2139, allocations: 92.12 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.2139, allocations: 27.81 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.214, allocations: 33.7 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.2142, allocations: 326.8 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.2144, allocations: 59.95 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.2146, allocations: 67.95 kB / 0.5894 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.215, allocations: 185.8 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.215, allocations: 0 / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005111/0.2155, allocations: 256.9 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.2156, allocations: 59.41 kB / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.2156, allocations: 0 / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2156, allocations: 11.92 kB / 0.5899 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.2157, allocations: 15.92 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2157, allocations: 4 kB / 0.5899 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.2159, allocations: 23.98 kB / 0.5899 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.2159, allocations: 7.984 kB / 0.5899 GB, free: 14.44 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.0001405/0.2161, allocations: 151.5 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.2161, allocations: 7.906 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.2161, allocations: 16.45 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2161, allocations: 3.938 kB / 0.5901 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2162, allocations: 4 kB / 0.5901 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2162, allocations: 0 / 0.5901 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.2164, allocations: 193.5 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2164, allocations: 0 / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.2165, allocations: 11.98 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2165, allocations: 0 / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.2165, allocations: 11.98 kB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2165, allocations: 0 / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2165, allocations: 0 / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.217, allocations: 258.8 kB / 0.5905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.2171, allocations: 88.95 kB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.2171, allocations: 0 / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.2173, allocations: 19.97 kB / 0.5906 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.2174, allocations: 39.95 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.2175, allocations: 4 kB / 0.5907 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.821e-05/0.2176, allocations: 103.3 kB / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2176, allocations: 0 / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002128/0.2178, allocations: 23.94 kB / 0.5908 GB, free: 13.41 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.0001515/0.2179, allocations: 103.2 kB / 0.5909 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005543/0.2185, allocations: 270.6 kB / 0.5912 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2185, allocations: 0 / 0.5912 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.2188, allocations: 143.4 kB / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.219, allocations: 20.48 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.2196, allocations: 239.1 kB / 0.5915 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.22, allocations: 0.6924 MB / 0.5922 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.875e-05/0.22, allocations: 7.984 kB / 0.5922 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.2201, allocations: 15.44 kB / 0.5922 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.2201, allocations: 3.938 kB / 0.5922 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of Templates: time 0.005137/0.2252, allocations: 1.671 MB / 0.5939 GB, free: 10.18 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)