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.001211/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002408/0.002409, allocations: 193 kB / 16.13 MB, free: 6.648 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.575/1.575, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.161/1.161, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 69.33 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2518, allocations: 80.92 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.004807/0.2567, allocations: 1.525 MB / 0.5852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.258, allocations: 463 kB / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.2582, allocations: 0 / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.2585, allocations: 11.92 kB / 0.5856 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.905e-05/0.2586, allocations: 11.88 kB / 0.5857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.2589, allocations: 27.95 kB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.2592, allocations: 83.83 kB / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.2593, allocations: 16.17 kB / 0.5858 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.2596, allocations: 47.78 kB / 0.5858 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.2598, allocations: 39.88 kB / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.2598, allocations: 8 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.2598, allocations: 4 kB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.2599, allocations: 15.92 kB / 0.5859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.2601, allocations: 35.8 kB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.2603, allocations: 71.81 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.2603, allocations: 0 / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2603, allocations: 0 / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.2603, allocations: 0 / 0.586 GB, free: 2.648 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.001062/0.2614, allocations: 458.8 kB / 0.5864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.2614, allocations: 8.031 kB / 0.5864 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.2615, allocations: 12.83 kB / 0.5864 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.2618, allocations: 200.1 kB / 0.5866 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.2618, allocations: 384 / 0.5866 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.2618, allocations: 12.38 kB / 0.5866 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.2622, allocations: 117.7 kB / 0.5868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2622, allocations: 0 / 0.5868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.2623, allocations: 4 kB / 0.5868 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.2623, allocations: 4 kB / 0.5868 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.2626, allocations: 87.92 kB / 0.5869 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.2633, allocations: 336.7 kB / 0.5872 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.2636, allocations: 102.5 kB / 0.5873 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.2638, allocations: 72.94 kB / 0.5873 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.2639, allocations: 0 / 0.5873 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/0.2643, allocations: 119.3 kB / 0.5875 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.2643, allocations: 4 kB / 0.5875 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007628/0.2651, allocations: 279.1 kB / 0.5877 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.2652, allocations: 85.11 kB / 0.5878 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.2653, allocations: 128.6 kB / 0.5879 GB, free: 456 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.2653, allocations: 29.7 kB / 0.588 GB, free: 420 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.872e-05/0.2654, allocations: 100 kB / 0.5881 GB, free: 316 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.2655, allocations: 19.75 kB / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/0.2656, allocations: 33.7 kB / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.2658, allocations: 326.7 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.266, allocations: 63.94 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.2662, allocations: 67.95 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.2666, allocations: 185.8 kB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2666, allocations: 0 / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005366/0.2671, allocations: 256.9 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/0.2672, allocations: 63.41 kB / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.2672, allocations: 160 / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.2673, allocations: 3.938 kB / 0.589 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2674, allocations: 27.91 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2674, allocations: 3.984 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.2676, allocations: 19.98 kB / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.2676, allocations: 4 kB / 0.5891 GB, free: 15.19 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.0001465/0.2678, allocations: 155.5 kB / 0.5892 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.2678, allocations: 11.91 kB / 0.5892 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.2679, allocations: 8.375 kB / 0.5892 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2679, allocations: 4 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2679, allocations: 0 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2679, allocations: 7.984 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.2681, allocations: 189.6 kB / 0.5894 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2681, allocations: 0 / 0.5894 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/0.2682, allocations: 16.22 kB / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2682, allocations: 4 kB / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2682, allocations: 8 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2682, allocations: 96 / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2682, allocations: 3.938 kB / 0.5895 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.2687, allocations: 254.5 kB / 0.5897 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.2688, allocations: 88.95 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.2688, allocations: 0 / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.269, allocations: 23.97 kB / 0.5898 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.2691, allocations: 35.95 kB / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2691, allocations: 8 kB / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.144e-05/0.2692, allocations: 99.27 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2692, allocations: 0 / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002166/0.2694, allocations: 23.94 kB / 0.59 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.000133/0.2696, allocations: 107.2 kB / 0.5901 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005367/0.2701, allocations: 266.6 kB / 0.5903 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2701, allocations: 4 kB / 0.5903 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.2704, allocations: 135.4 kB / 0.5905 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.2707, allocations: 15.98 kB / 0.5905 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.2713, allocations: 240.9 kB / 0.5907 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.2716, allocations: 0.6926 MB / 0.5914 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.14e-05/0.2717, allocations: 7.984 kB / 0.5914 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.2717, allocations: 7.438 kB / 0.5914 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.2718, allocations: 0 / 0.5914 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.005097/0.2769, allocations: 1.59 MB / 0.593 GB, free: 11.03 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)