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.01229/0.01229, allocations: 102.6 kB / 15.73 MB, free: 6.039 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.002483/0.002484, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8404/0.8404, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.22 kB / 0.5856 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2173, allocations: 80.94 MB / 0.6646 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002642/0.22, allocations: 1.465 MB / 0.666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008221/0.2208, allocations: 466.9 kB / 0.6665 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.2209, allocations: 0 / 0.6665 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.221, allocations: 7.875 kB / 0.6665 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.2211, allocations: 15.84 kB / 0.6665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.2213, allocations: 35.95 kB / 0.6665 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.2215, allocations: 99.7 kB / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2216, allocations: 20.11 kB / 0.6667 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.2218, allocations: 55.83 kB / 0.6667 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.2219, allocations: 39.83 kB / 0.6668 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.2219, allocations: 8 kB / 0.6668 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.974e-05/0.222, allocations: 12 kB / 0.6668 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.222, allocations: 11.98 kB / 0.6668 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.036e-05/0.2221, allocations: 43.78 kB / 0.6668 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.2223, allocations: 79.7 kB / 0.6669 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2223, allocations: 4 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2223, allocations: 0 / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.2223, allocations: 0 / 0.6669 GB, free: 3.488 MB / 0.4981 GB 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.0008097/0.2231, allocations: 438.7 kB / 0.6673 GB, free: 3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.2232, allocations: 13.11 kB / 0.6673 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.2232, allocations: 12.84 kB / 0.6673 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.2235, allocations: 192.2 kB / 0.6675 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2235, allocations: 4.375 kB / 0.6675 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.2235, allocations: 8.375 kB / 0.6675 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.2238, allocations: 121.7 kB / 0.6677 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2239, allocations: 0 / 0.6677 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2239, allocations: 4 kB / 0.6677 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2239, allocations: 4 kB / 0.6677 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.2242, allocations: 87.92 kB / 0.6677 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.2248, allocations: 328.7 kB / 0.6681 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.2252, allocations: 106.5 kB / 0.6682 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.2254, allocations: 76.94 kB / 0.6682 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.2254, allocations: 0 / 0.6682 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/0.2258, allocations: 123.3 kB / 0.6684 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.2258, allocations: 0 / 0.6684 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007671/0.2266, allocations: 287.1 kB / 0.6686 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.2266, allocations: 85.11 kB / 0.6687 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.2268, allocations: 129.8 kB / 0.6688 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2268, allocations: 29.7 kB / 0.6689 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.2269, allocations: 104 kB / 0.669 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.2269, allocations: 15.97 kB / 0.669 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.227, allocations: 29.7 kB / 0.669 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2271, allocations: 322.8 kB / 0.6693 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.2273, allocations: 71.94 kB / 0.6694 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.2275, allocations: 63.94 kB / 0.6694 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.2279, allocations: 189.9 kB / 0.6696 GB, free: 448 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2279, allocations: 4 kB / 0.6696 GB, free: 444 kB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004957/0.2284, allocations: 256.8 kB / 0.6699 GB, free: 168 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.2285, allocations: 63.41 kB / 0.6699 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2285, allocations: 0 / 0.6699 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2285, allocations: 0 / 0.6699 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.2286, allocations: 19.97 kB / 0.67 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2286, allocations: 0 / 0.67 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.2288, allocations: 23.89 kB / 0.67 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2288, allocations: 11.94 kB / 0.67 GB, free: 36 kB / 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.0001511/0.229, allocations: 159.5 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.229, allocations: 7.906 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.229, allocations: 12.38 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.229, allocations: 0 / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.229, allocations: 0 / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2291, allocations: 3.984 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.2292, allocations: 193.6 kB / 0.6703 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2293, allocations: 0 / 0.6703 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.954e-05/0.2293, allocations: 15.97 kB / 0.6704 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2294, allocations: 0 / 0.6704 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2294, allocations: 4 kB / 0.6704 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2294, allocations: 0 / 0.6704 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2294, allocations: 0 / 0.6704 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.2299, allocations: 254.5 kB / 0.6706 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.2299, allocations: 85.3 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.23, allocations: 8 kB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2301, allocations: 23.97 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.2303, allocations: 35.95 kB / 0.6708 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2303, allocations: 7.938 kB / 0.6708 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.917e-05/0.2303, allocations: 102.2 kB / 0.6709 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2304, allocations: 0 / 0.6709 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002097/0.2306, allocations: 35.84 kB / 0.6709 GB, free: 15 MB / 0.5137 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.0001265/0.2307, allocations: 96.58 kB / 0.671 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005661/0.2313, allocations: 274.6 kB / 0.6712 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2313, allocations: 0 / 0.6712 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.2315, allocations: 143.3 kB / 0.6714 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.2318, allocations: 12 kB / 0.6714 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.2324, allocations: 219.2 kB / 0.6716 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.2327, allocations: 0.6885 MB / 0.6723 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.97e-05/0.2328, allocations: 19.73 kB / 0.6723 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.2328, allocations: 11.44 kB / 0.6723 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2328, allocations: 0 / 0.6723 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.004451/0.2373, allocations: 1.854 MB / 0.6741 GB, free: 11.61 MB / 0.5137 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)