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.001448/0.001448, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001902/0.001901, allocations: 190.6 kB / 16.25 MB, free: 6.641 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.543/1.543, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.061/1.061, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001582, allocations: 59.62 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2283, allocations: 80.93 MB / 0.5839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003591/0.2319, allocations: 1.531 MB / 0.5854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2329, allocations: 451 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.2331, allocations: 0 / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.2332, allocations: 11.86 kB / 0.5858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.2333, allocations: 15.88 kB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.2336, allocations: 31.95 kB / 0.5859 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.2338, allocations: 95.83 kB / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.234, allocations: 12.17 kB / 0.586 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.2342, allocations: 55.78 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.2343, allocations: 43.88 kB / 0.5861 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.2343, allocations: 8 kB / 0.5861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.267e-05/0.2344, allocations: 8 kB / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.2344, allocations: 15.92 kB / 0.5861 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.2345, allocations: 35.86 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.2347, allocations: 79.75 kB / 0.5862 GB, free: 2.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2347, allocations: 0 / 0.5862 GB, free: 2.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2347, allocations: 0 / 0.5862 GB, free: 2.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2347, allocations: 0 / 0.5862 GB, free: 2.492 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.001046/0.2358, allocations: 458.8 kB / 0.5866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.2359, allocations: 8.031 kB / 0.5866 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.236, allocations: 8.844 kB / 0.5866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.2362, allocations: 193.1 kB / 0.5868 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2363, allocations: 8.375 kB / 0.5868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.2363, allocations: 8.375 kB / 0.5869 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.2367, allocations: 121.7 kB / 0.587 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2367, allocations: 0 / 0.587 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2367, allocations: 4 kB / 0.587 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2367, allocations: 0 / 0.587 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.2371, allocations: 87.92 kB / 0.5871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007092/0.2378, allocations: 332.7 kB / 0.5874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.2381, allocations: 102.5 kB / 0.5875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.2383, allocations: 72.94 kB / 0.5875 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2384, allocations: 0 / 0.5875 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004056/0.2388, allocations: 123.3 kB / 0.5877 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.2388, allocations: 0 / 0.5877 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007537/0.2395, allocations: 287.1 kB / 0.5879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.2396, allocations: 81.11 kB / 0.588 GB, free: 440 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2397, allocations: 136.8 kB / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2398, allocations: 25.7 kB / 0.5882 GB, free: 264 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.2398, allocations: 100 kB / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2399, allocations: 19.75 kB / 0.5883 GB, free: 140 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.24, allocations: 29.7 kB / 0.5883 GB, free: 104 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.2401, allocations: 318.8 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.2403, allocations: 71.94 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.2405, allocations: 71.89 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.2408, allocations: 185.8 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2408, allocations: 0 / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005031/0.2413, allocations: 252.9 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.2414, allocations: 65.75 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2414, allocations: 4 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2414, allocations: 4 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2416, allocations: 23.84 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2416, allocations: 4.141 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.2418, allocations: 19.98 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.2418, allocations: 4 kB / 0.5893 GB, free: 15.04 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.0001381/0.2419, allocations: 159.5 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.242, allocations: 15.89 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.242, allocations: 12.38 kB / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.242, allocations: 0 / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.242, allocations: 0 / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.242, allocations: 3.984 kB / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.2422, allocations: 193.6 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2422, allocations: 0 / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.2423, allocations: 15.97 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2423, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.2424, allocations: 4 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2424, allocations: 4 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2424, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.2429, allocations: 250.6 kB / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.2429, allocations: 88.89 kB / 0.59 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.243, allocations: 8.312 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.2431, allocations: 23.97 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.2433, allocations: 43.95 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.2433, allocations: 4 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.902e-05/0.2434, allocations: 99.27 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2434, allocations: 0 / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000324/0.2438, allocations: 23.94 kB / 0.5902 GB, free: 13.99 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.0001466/0.2439, allocations: 103.2 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005949/0.2445, allocations: 270.6 kB / 0.5905 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2445, allocations: 0 / 0.5905 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.2448, allocations: 143.3 kB / 0.5907 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.2451, allocations: 8 kB / 0.5907 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.2456, allocations: 243.1 kB / 0.5909 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2459, allocations: 0.6924 MB / 0.5916 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.073e-05/0.246, allocations: 11.98 kB / 0.5916 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.246, allocations: 15.44 kB / 0.5916 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of SimCode: time 2.264e-06/0.246, allocations: 0 / 0.5916 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.004893/0.2509, allocations: 1.672 MB / 0.5933 GB, free: 10.78 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)