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.001266/0.001266, allocations: 99.52 kB / 16.35 MB, free: 5.828 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.001246/0.001246, allocations: 197.6 kB / 17.3 MB, free: 5.484 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7709/0.7709, allocations: 132.2 MB / 423.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 55.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3671, allocations: 80.18 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002327/0.3695, allocations: 1.469 MB / 0.5829 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006235/0.3701, allocations: 475.6 kB / 0.5834 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.3702, allocations: 3.094 kB / 0.5834 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.994e-05/0.3703, allocations: 3.938 kB / 0.5834 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.091e-05/0.3703, allocations: 12.98 kB / 0.5834 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.3705, allocations: 38.25 kB / 0.5834 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3707, allocations: 100.2 kB / 0.5835 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3708, allocations: 20.64 kB / 0.5835 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3709, allocations: 54.02 kB / 0.5836 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.371, allocations: 35.86 kB / 0.5836 GB, free: 26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.371, allocations: 8.062 kB / 0.5836 GB, free: 26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.042e-05/0.3711, allocations: 10.56 kB / 0.5836 GB, free: 26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.3711, allocations: 14.45 kB / 0.5836 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.3712, allocations: 36.64 kB / 0.5837 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3713, allocations: 83.47 kB / 0.5838 GB, free: 25.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3713, allocations: 3.938 kB / 0.5838 GB, free: 25.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3713, allocations: 2.312 kB / 0.5838 GB, free: 25.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3713, allocations: 0 / 0.5838 GB, free: 25.9 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.000562/0.3719, allocations: 448 kB / 0.5842 GB, free: 25.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3719, allocations: 8.719 kB / 0.5842 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.372, allocations: 18.56 kB / 0.5842 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3721, allocations: 194 kB / 0.5844 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3721, allocations: 5.406 kB / 0.5844 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.3722, allocations: 5.688 kB / 0.5844 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.3724, allocations: 123.3 kB / 0.5845 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.3725, allocations: 1.25 kB / 0.5845 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3725, allocations: 2.656 kB / 0.5845 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3725, allocations: 6.625 kB / 0.5845 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.3727, allocations: 87.33 kB / 0.5846 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.3732, allocations: 339.7 kB / 0.585 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.3734, allocations: 104.9 kB / 0.5851 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.3736, allocations: 70.97 kB / 0.5851 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.3736, allocations: 2.094 kB / 0.5851 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.3739, allocations: 124.8 kB / 0.5852 GB, free: 24.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.3739, allocations: 0 / 0.5852 GB, free: 24.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006234/0.3745, allocations: 276.5 kB / 0.5855 GB, free: 24.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3746, allocations: 84.61 kB / 0.5856 GB, free: 24.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.3747, allocations: 127.5 kB / 0.5857 GB, free: 24.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3747, allocations: 34.2 kB / 0.5857 GB, free: 24.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.3747, allocations: 91.12 kB / 0.5858 GB, free: 24.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.3747, allocations: 16.94 kB / 0.5858 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.3748, allocations: 33.64 kB / 0.5859 GB, free: 24.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.3749, allocations: 321.4 kB / 0.5862 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.375, allocations: 67 kB / 0.5862 GB, free: 23.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.3752, allocations: 71.83 kB / 0.5863 GB, free: 23.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.3755, allocations: 179.3 kB / 0.5865 GB, free: 23.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3755, allocations: 1.031 kB / 0.5865 GB, free: 23.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004408/0.3759, allocations: 272.2 kB / 0.5867 GB, free: 23.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.376, allocations: 58.66 kB / 0.5868 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.376, allocations: 1.625 kB / 0.5868 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.376, allocations: 2.719 kB / 0.5868 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.3761, allocations: 29.86 kB / 0.5868 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3761, allocations: 0 / 0.5868 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.3763, allocations: 25.52 kB / 0.5869 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.3763, allocations: 3.719 kB / 0.5869 GB, free: 23.25 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.092e-05/0.3764, allocations: 159.5 kB / 0.587 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.3764, allocations: 5.219 kB / 0.587 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.3765, allocations: 11.41 kB / 0.587 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3765, allocations: 1.219 kB / 0.587 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3765, allocations: 3.984 kB / 0.587 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3765, allocations: 1.375 kB / 0.587 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.485e-05/0.3766, allocations: 192.4 kB / 0.5872 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3766, allocations: 9.297 kB / 0.5872 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.823e-05/0.3767, allocations: 12.55 kB / 0.5872 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3767, allocations: 2.562 kB / 0.5872 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3767, allocations: 6.719 kB / 0.5872 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3767, allocations: 5.375 kB / 0.5873 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3767, allocations: 0 / 0.5873 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.3771, allocations: 243.8 kB / 0.5875 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.3772, allocations: 83.73 kB / 0.5876 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3772, allocations: 3 kB / 0.5876 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3773, allocations: 21.28 kB / 0.5876 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3774, allocations: 38.64 kB / 0.5876 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3774, allocations: 3.625 kB / 0.5876 GB, free: 22.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.039e-05/0.3775, allocations: 99.61 kB / 0.5877 GB, free: 22.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3775, allocations: 0 / 0.5877 GB, free: 22.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.3777, allocations: 25.97 kB / 0.5877 GB, free: 22.45 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 7.647e-05/0.3778, allocations: 101.7 kB / 0.5878 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004173/0.3782, allocations: 266.7 kB / 0.5881 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3782, allocations: 0 / 0.5881 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.3784, allocations: 142.6 kB / 0.5882 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.3786, allocations: 16.88 kB / 0.5883 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.3791, allocations: 221.4 kB / 0.5885 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.999e-05/0.3792, allocations: 0.6935 MB / 0.5891 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.555e-05/0.3792, allocations: 11.95 kB / 0.5892 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.3793, allocations: 15.41 kB / 0.5892 GB, free: 21.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3793, allocations: 0 / 0.5892 GB, free: 21.17 MB / 446.1 MB Notification: Performance of Templates: time 0.003891/0.3832, allocations: 1.86 MB / 0.591 GB, free: 20.06 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)