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.0008575/0.0008574, allocations: 100.2 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.0008927/0.0008926, 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.223/1.223, allocations: 223.2 MB / 239.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8257/0.8257, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 8 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 82.33 MB / 0.5872 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001431/0.1626, allocations: 1.167 MB / 0.5883 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006005/0.1632, allocations: 427.4 kB / 0.5887 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.1632, allocations: 7.938 kB / 0.5887 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.56e-05/0.1633, allocations: 0 / 0.5887 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.563e-05/0.1634, allocations: 11.92 kB / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.1635, allocations: 23.95 kB / 0.5888 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.43e-05/0.1636, allocations: 55.92 kB / 0.5888 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1638, allocations: 12.19 kB / 0.5888 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1639, allocations: 43.83 kB / 0.5889 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.164, allocations: 35.89 kB / 0.5889 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.164, allocations: 7.938 kB / 0.5889 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.164, allocations: 4 kB / 0.5889 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.1641, allocations: 11.92 kB / 0.5889 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.1641, allocations: 37.7 kB / 0.589 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.063e-05/0.1642, allocations: 55.89 kB / 0.589 GB, free: 1.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1642, allocations: 0 / 0.589 GB, free: 1.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1642, allocations: 0 / 0.589 GB, free: 1.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1642, allocations: 0 / 0.589 GB, free: 1.18 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.0006374/0.1649, allocations: 446.7 kB / 0.5895 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1649, allocations: 12.03 kB / 0.5895 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.165, allocations: 7.906 kB / 0.5895 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.1652, allocations: 194.8 kB / 0.5897 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1652, allocations: 4 kB / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1652, allocations: 12 kB / 0.5897 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.1655, allocations: 117.6 kB / 0.5898 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1655, allocations: 0 / 0.5898 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1655, allocations: 4 kB / 0.5898 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1656, allocations: 3.938 kB / 0.5898 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.1659, allocations: 111.9 kB / 0.5899 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.1664, allocations: 340.8 kB / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.1667, allocations: 114.5 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1667, allocations: 4 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.167, allocations: 131.4 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1671, allocations: 0 / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006779/0.1677, allocations: 295.2 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1678, allocations: 89.11 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.1679, allocations: 133.3 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1679, allocations: 33.7 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.168, allocations: 100 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.168, allocations: 15.75 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.168, allocations: 4 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1682, allocations: 326.8 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.1683, allocations: 71.95 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.1685, allocations: 75.89 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.1687, allocations: 115.4 kB / 0.5917 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1687, allocations: 0 / 0.5917 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004592/0.1692, allocations: 268.9 kB / 0.5919 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.1693, allocations: 67.41 kB / 0.592 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1693, allocations: 0 / 0.592 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1693, allocations: 0 / 0.592 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1694, allocations: 23.91 kB / 0.592 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1694, allocations: 0 / 0.592 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.1696, allocations: 27.98 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.1696, allocations: 11.95 kB / 0.5921 GB, free: 13.81 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.0001131/0.1697, allocations: 155.6 kB / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.1698, allocations: 11.84 kB / 0.5922 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.1698, allocations: 12.38 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1698, allocations: 0 / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1698, allocations: 0 / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1698, allocations: 3.984 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.17, allocations: 193.6 kB / 0.5924 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.17, allocations: 256 / 0.5924 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.457e-05/0.1701, allocations: 27.97 kB / 0.5924 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1701, allocations: 0 / 0.5924 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.1701, allocations: 8 kB / 0.5924 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1701, allocations: 0 / 0.5924 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1701, allocations: 0 / 0.5924 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.1706, allocations: 266.5 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.1706, allocations: 84.95 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.1707, allocations: 4 kB / 0.5928 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.1708, allocations: 31.97 kB / 0.5928 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.1709, allocations: 39.95 kB / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.171, allocations: 0 / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.599e-05/0.171, allocations: 95.27 kB / 0.5929 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.171, allocations: 0 / 0.5929 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001958/0.1712, allocations: 31.98 kB / 0.593 GB, free: 12.75 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.0001098/0.1713, allocations: 99.25 kB / 0.5931 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.1718, allocations: 286.6 kB / 0.5933 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1718, allocations: 0 / 0.5933 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.1721, allocations: 147.4 kB / 0.5935 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.1722, allocations: 11.94 kB / 0.5935 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.1727, allocations: 241.2 kB / 0.5937 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.173, allocations: 0.6926 MB / 0.5944 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.868e-05/0.1731, allocations: 12.16 kB / 0.5944 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.1731, allocations: 11.44 kB / 0.5944 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1731, allocations: 0 / 0.5944 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.003395/0.1765, allocations: 1.532 MB / 0.5959 GB, free: 9.656 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: