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.001664/0.001664, allocations: 103.7 kB / 16.35 MB, free: 5.824 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.001761/0.001761, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8163/0.8163, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.89 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.4754, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002752/0.4782, allocations: 1.463 MB / 0.5829 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007017/0.479, allocations: 472.2 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.479, allocations: 1.219 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.284e-05/0.4791, allocations: 5.031 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.4792, allocations: 15.02 kB / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.4794, allocations: 37.23 kB / 0.5834 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.4795, allocations: 103.8 kB / 0.5835 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4797, allocations: 21.39 kB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.4798, allocations: 53.3 kB / 0.5836 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.4799, allocations: 41.48 kB / 0.5836 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.4799, allocations: 6.625 kB / 0.5836 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.4799, allocations: 9 kB / 0.5836 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.48, allocations: 19.91 kB / 0.5837 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.48, allocations: 40.39 kB / 0.5837 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.4802, allocations: 79.58 kB / 0.5838 GB, free: 25.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4802, allocations: 1.094 kB / 0.5838 GB, free: 25.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4802, allocations: 1.656 kB / 0.5838 GB, free: 25.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.4802, allocations: 0 / 0.5838 GB, free: 25.86 MB / 446.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.0006428/0.4809, allocations: 451.9 kB / 0.5842 GB, free: 25.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4809, allocations: 10.28 kB / 0.5842 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.481, allocations: 10 kB / 0.5842 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.4811, allocations: 192.9 kB / 0.5844 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.4811, allocations: 10.09 kB / 0.5844 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.4812, allocations: 10.69 kB / 0.5844 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.4815, allocations: 111.6 kB / 0.5845 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4815, allocations: 0 / 0.5845 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.4815, allocations: 6.375 kB / 0.5845 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4815, allocations: 5.609 kB / 0.5845 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002659/0.4818, allocations: 87.52 kB / 0.5846 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.4823, allocations: 332.2 kB / 0.5849 GB, free: 24.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.4825, allocations: 108.9 kB / 0.5851 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.4827, allocations: 73.22 kB / 0.5851 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.4827, allocations: 0 / 0.5851 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.483, allocations: 125.1 kB / 0.5852 GB, free: 24.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.464e-06/0.483, allocations: 1.312 kB / 0.5852 GB, free: 24.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006534/0.4837, allocations: 278.7 kB / 0.5855 GB, free: 24.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.4837, allocations: 85.05 kB / 0.5856 GB, free: 24.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.4838, allocations: 130 kB / 0.5857 GB, free: 24.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4839, allocations: 27.95 kB / 0.5857 GB, free: 24.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.4839, allocations: 97.12 kB / 0.5858 GB, free: 24.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.4839, allocations: 15.38 kB / 0.5858 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.484, allocations: 25.38 kB / 0.5859 GB, free: 24.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.556e-05/0.484, allocations: 327.3 kB / 0.5862 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.4842, allocations: 65.42 kB / 0.5862 GB, free: 23.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4844, allocations: 66.88 kB / 0.5863 GB, free: 23.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.4847, allocations: 194 kB / 0.5865 GB, free: 23.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4847, allocations: 0 / 0.5865 GB, free: 23.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000434/0.4851, allocations: 255.4 kB / 0.5867 GB, free: 23.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.4852, allocations: 68.02 kB / 0.5868 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4852, allocations: 3.938 kB / 0.5868 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4852, allocations: 2.094 kB / 0.5868 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4853, allocations: 13.55 kB / 0.5868 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4854, allocations: 1.375 kB / 0.5868 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.4855, allocations: 30.22 kB / 0.5869 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.4855, allocations: 9.188 kB / 0.5869 GB, free: 23.22 MB / 446.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 8.516e-05/0.4856, allocations: 159.3 kB / 0.587 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.4856, allocations: 4.188 kB / 0.587 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.4857, allocations: 11.12 kB / 0.587 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4857, allocations: 0.5938 kB / 0.587 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4857, allocations: 1 kB / 0.587 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4857, allocations: 1.25 kB / 0.587 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.4858, allocations: 197.1 kB / 0.5872 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4858, allocations: 256 / 0.5872 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.4859, allocations: 13.67 kB / 0.5872 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4859, allocations: 5.844 kB / 0.5872 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4859, allocations: 5.766 kB / 0.5872 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4859, allocations: 1.625 kB / 0.5872 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.486, allocations: 3.984 kB / 0.5872 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.4864, allocations: 251.6 kB / 0.5875 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.4864, allocations: 82.39 kB / 0.5876 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.4865, allocations: 8.656 kB / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.4866, allocations: 20.41 kB / 0.5876 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4867, allocations: 30.41 kB / 0.5876 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.4867, allocations: 12.88 kB / 0.5876 GB, free: 22.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.372e-05/0.4868, allocations: 100.9 kB / 0.5877 GB, free: 22.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4868, allocations: 0.5 kB / 0.5877 GB, free: 22.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.487, allocations: 31.34 kB / 0.5878 GB, free: 22.41 MB / 446.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 8.624e-05/0.4871, allocations: 98.12 kB / 0.5879 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004467/0.4875, allocations: 267.7 kB / 0.5881 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4876, allocations: 0.5 kB / 0.5881 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.4878, allocations: 143.3 kB / 0.5882 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.488, allocations: 16.94 kB / 0.5883 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.4885, allocations: 228.6 kB / 0.5885 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.4886, allocations: 0.6935 MB / 0.5892 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.406e-05/0.4886, allocations: 4 kB / 0.5892 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.4887, allocations: 12.34 kB / 0.5892 GB, free: 21.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4887, allocations: 0 / 0.5892 GB, free: 21.13 MB / 446.1 MB Notification: Performance of Templates: time 0.004183/0.4929, allocations: 1.855 MB / 0.591 GB, free: 20.07 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)