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.001488/0.001488, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001971/0.00197, allocations: 172.7 kB / 15.95 MB, free: 208 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.641/1.641, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.089/1.089, allocations: 135.3 MB / 426.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004216, allocations: 16.8 kB / 0.507 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2359, allocations: 82.31 MB / 0.5874 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001752/0.2377, allocations: 1.172 MB / 0.5885 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007571/0.2385, allocations: 435.3 kB / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.2386, allocations: 4 kB / 0.5889 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.925e-05/0.2387, allocations: 0 / 0.5889 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.2388, allocations: 15.84 kB / 0.5889 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.239, allocations: 27.97 kB / 0.589 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.2391, allocations: 75.77 kB / 0.589 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2393, allocations: 16.17 kB / 0.5891 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2394, allocations: 43.83 kB / 0.5891 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.2395, allocations: 35.89 kB / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.2395, allocations: 7.938 kB / 0.5891 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.2396, allocations: 4 kB / 0.5891 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.2396, allocations: 7.984 kB / 0.5891 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.2397, allocations: 41.64 kB / 0.5892 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.2398, allocations: 55.89 kB / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2398, allocations: 4 kB / 0.5892 GB, free: 1.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2398, allocations: 0 / 0.5892 GB, free: 1.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.2398, allocations: 0 / 0.5892 GB, free: 1.066 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.0007538/0.2406, allocations: 442.7 kB / 0.5897 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2406, allocations: 12.03 kB / 0.5897 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.2407, allocations: 7.906 kB / 0.5897 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.2409, allocations: 198.8 kB / 0.5899 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.241, allocations: 4 kB / 0.5899 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.241, allocations: 12 kB / 0.5899 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.2413, allocations: 113.6 kB / 0.59 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2413, allocations: 3.938 kB / 0.59 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.2414, allocations: 4 kB / 0.59 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2414, allocations: 4 kB / 0.59 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.2417, allocations: 103.9 kB / 0.5901 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006018/0.2423, allocations: 340.8 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.2426, allocations: 122.5 kB / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2428, allocations: 76.94 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.2428, allocations: 3.938 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.2432, allocations: 131.3 kB / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.542e-06/0.2432, allocations: 0 / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000715/0.2439, allocations: 299.2 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.244, allocations: 89.06 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2441, allocations: 137.4 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.2442, allocations: 25.7 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.2443, allocations: 100 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.2443, allocations: 23.73 kB / 0.5914 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.2443, allocations: 4 kB / 0.5914 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2445, allocations: 314.8 kB / 0.5917 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.2447, allocations: 71.94 kB / 0.5918 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2448, allocations: 79.95 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.245, allocations: 103.4 kB / 0.5919 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.245, allocations: 0 / 0.5919 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005009/0.2455, allocations: 280.8 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/0.2456, allocations: 67.39 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2456, allocations: 160 / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2456, allocations: 0 / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2458, allocations: 23.98 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2458, allocations: 3.984 kB / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.2459, allocations: 35.86 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.246, allocations: 4 kB / 0.5923 GB, free: 13.61 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.0001485/0.2461, allocations: 155.6 kB / 0.5925 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.2461, allocations: 15.84 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.2462, allocations: 12.36 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2462, allocations: 0 / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2462, allocations: 0 / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2462, allocations: 4 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.2464, allocations: 193.6 kB / 0.5927 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.2464, allocations: 0 / 0.5927 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.2465, allocations: 23.92 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2465, allocations: 8 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2465, allocations: 256 / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2465, allocations: 0 / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.2465, allocations: 7.984 kB / 0.5927 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.247, allocations: 262.6 kB / 0.593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.2471, allocations: 88.95 kB / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.2471, allocations: 4 kB / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2473, allocations: 27.97 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.2474, allocations: 39.95 kB / 0.5931 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.2474, allocations: 4 kB / 0.5932 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.382e-05/0.2475, allocations: 99.27 kB / 0.5932 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2475, allocations: 0 / 0.5932 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002028/0.2477, allocations: 20 kB / 0.5933 GB, free: 12.55 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.0001331/0.2478, allocations: 107.2 kB / 0.5934 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005239/0.2484, allocations: 274.7 kB / 0.5936 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2484, allocations: 0 / 0.5936 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.2486, allocations: 159.3 kB / 0.5938 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.2489, allocations: 22.12 kB / 0.5938 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.2495, allocations: 233.2 kB / 0.594 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.2498, allocations: 0.6926 MB / 0.5947 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.555e-05/0.2498, allocations: 8.172 kB / 0.5947 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.2499, allocations: 11.44 kB / 0.5947 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.2499, allocations: 0 / 0.5947 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.004372/0.2543, allocations: 1.528 MB / 0.5962 GB, free: 9.461 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)