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.0009702/0.0009703, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01078/0.01078, allocations: 169 kB / 16.26 MB, free: 6.652 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.57/1.57, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.1/1.1, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.000377, allocations: 11.98 kB / 0.5076 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2452, allocations: 82.3 MB / 0.588 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002013/0.2473, allocations: 1.184 MB / 0.5891 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.2482, allocations: 467 kB / 0.5896 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.2483, allocations: 0 / 0.5896 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.2484, allocations: 7.922 kB / 0.5896 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.216e-05/0.2485, allocations: 7.938 kB / 0.5896 GB, free: 1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.2488, allocations: 35.84 kB / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.249, allocations: 91.81 kB / 0.5897 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2491, allocations: 8.172 kB / 0.5897 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.2493, allocations: 51.78 kB / 0.5898 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2494, allocations: 31.89 kB / 0.5898 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.2494, allocations: 4 kB / 0.5898 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.873e-05/0.2495, allocations: 8 kB / 0.5898 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.2495, allocations: 11.92 kB / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.2497, allocations: 61.55 kB / 0.5899 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.2498, allocations: 71.75 kB / 0.5899 GB, free: 0.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2498, allocations: 0 / 0.5899 GB, free: 0.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2498, allocations: 0 / 0.5899 GB, free: 0.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.2499, allocations: 0 / 0.5899 GB, free: 0.625 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.0008671/0.2507, allocations: 452.8 kB / 0.5904 GB, free: 128 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.2508, allocations: 8.031 kB / 0.5904 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.2509, allocations: 8.844 kB / 0.5904 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.2511, allocations: 188.2 kB / 0.5906 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.2512, allocations: 8.375 kB / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.2512, allocations: 12.31 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.2516, allocations: 129.7 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2516, allocations: 3.984 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.2516, allocations: 0 / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2516, allocations: 4 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.252, allocations: 103.9 kB / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.2526, allocations: 340.7 kB / 0.5911 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.253, allocations: 122.5 kB / 0.5913 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.2533, allocations: 84.94 kB / 0.5913 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.2533, allocations: 4.062 kB / 0.5913 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003727/0.2537, allocations: 127.3 kB / 0.5915 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.2537, allocations: 0 / 0.5915 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0008002/0.2545, allocations: 299.1 kB / 0.5917 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.2546, allocations: 85.11 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2547, allocations: 133.2 kB / 0.592 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.2547, allocations: 33.7 kB / 0.592 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.2548, allocations: 96.03 kB / 0.5921 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.2549, allocations: 15.84 kB / 0.5921 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.2549, allocations: 21.7 kB / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2551, allocations: 318.8 kB / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.2553, allocations: 75.95 kB / 0.5925 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.2555, allocations: 79.88 kB / 0.5926 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.2559, allocations: 197.8 kB / 0.5928 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2559, allocations: 0 / 0.5928 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005379/0.2564, allocations: 276.9 kB / 0.593 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/0.2565, allocations: 63.39 kB / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2565, allocations: 0 / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.2566, allocations: 0 / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.2567, allocations: 23.92 kB / 0.5931 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2567, allocations: 3.938 kB / 0.5931 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.2569, allocations: 35.88 kB / 0.5931 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.2569, allocations: 4 kB / 0.5931 GB, free: 13.05 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.0001572/0.2571, allocations: 159.5 kB / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.2571, allocations: 7.906 kB / 0.5933 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.2572, allocations: 12.38 kB / 0.5933 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2572, allocations: 4 kB / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2572, allocations: 0 / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2572, allocations: 0 / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.2574, allocations: 193.5 kB / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2574, allocations: 0 / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.2575, allocations: 15.98 kB / 0.5935 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2575, allocations: 0 / 0.5935 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.2575, allocations: 11.98 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2575, allocations: 0 / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2575, allocations: 0 / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.2581, allocations: 270.8 kB / 0.5938 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.2581, allocations: 89.05 kB / 0.5939 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.2582, allocations: 96 / 0.5939 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2583, allocations: 31.91 kB / 0.5939 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.2585, allocations: 39.95 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.2585, allocations: 4 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.574e-05/0.2586, allocations: 99.27 kB / 0.594 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2586, allocations: 4 kB / 0.594 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002131/0.2588, allocations: 27.84 kB / 0.5941 GB, free: 11.98 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.0001491/0.259, allocations: 99.25 kB / 0.5942 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005873/0.2596, allocations: 286.6 kB / 0.5944 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2596, allocations: 0 / 0.5944 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.2599, allocations: 147.3 kB / 0.5946 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.2601, allocations: 14.66 kB / 0.5946 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.2608, allocations: 249.2 kB / 0.5948 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.2612, allocations: 0.6887 MB / 0.5955 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.7e-05/0.2612, allocations: 15.98 kB / 0.5955 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.2613, allocations: 7.438 kB / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.2613, allocations: 0 / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.005039/0.2663, allocations: 1.576 MB / 0.5971 GB, free: 8.848 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)