Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.009512/0.009512, allocations: 106 kB / 15.74 MB, free: 5.578 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.00176/0.00176, allocations: 189.9 kB / 16.67 MB, free: 5.516 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8879/0.8879, allocations: 132.2 MB / 422.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 75.28 kB / 0.5813 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1906, allocations: 80.21 MB / 0.6596 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002588/0.1933, allocations: 1.471 MB / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007813/0.1941, allocations: 470.8 kB / 0.6615 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.1941, allocations: 0 / 0.6615 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.528e-05/0.1942, allocations: 3.938 kB / 0.6615 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.1943, allocations: 15.88 kB / 0.6615 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1945, allocations: 35.89 kB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1947, allocations: 103.7 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1948, allocations: 16.17 kB / 0.6617 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.1949, allocations: 55.83 kB / 0.6617 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.195, allocations: 43.83 kB / 0.6618 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.1951, allocations: 11.98 kB / 0.6618 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.1951, allocations: 11.94 kB / 0.6618 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.1952, allocations: 8 kB / 0.6618 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.1952, allocations: 43.78 kB / 0.6619 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1954, allocations: 79.7 kB / 0.6619 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1954, allocations: 0 / 0.6619 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1954, allocations: 0 / 0.6619 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.1954, allocations: 4 kB / 0.6619 GB, free: 7.895 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.000719/0.1961, allocations: 450.6 kB / 0.6624 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1962, allocations: 8.031 kB / 0.6624 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.1962, allocations: 8.844 kB / 0.6624 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1964, allocations: 192.2 kB / 0.6626 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.1964, allocations: 4.375 kB / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.1965, allocations: 12.38 kB / 0.6626 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.1968, allocations: 117.7 kB / 0.6627 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1968, allocations: 0 / 0.6627 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1968, allocations: 8 kB / 0.6627 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1968, allocations: 0 / 0.6627 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.1971, allocations: 91.86 kB / 0.6628 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.1977, allocations: 332.6 kB / 0.6631 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.198, allocations: 106.5 kB / 0.6632 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.1982, allocations: 72.94 kB / 0.6633 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1982, allocations: 0 / 0.6633 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.1986, allocations: 127.3 kB / 0.6634 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1986, allocations: 3.938 kB / 0.6634 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007049/0.1993, allocations: 275.2 kB / 0.6637 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.1993, allocations: 85.11 kB / 0.6637 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.1995, allocations: 133.8 kB / 0.6639 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1995, allocations: 25.7 kB / 0.6639 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.1996, allocations: 99.98 kB / 0.664 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1996, allocations: 19.8 kB / 0.664 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.1996, allocations: 25.72 kB / 0.664 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1998, allocations: 326.8 kB / 0.6643 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.1999, allocations: 63.95 kB / 0.6644 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.2001, allocations: 71.89 kB / 0.6645 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.2005, allocations: 185.9 kB / 0.6647 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2005, allocations: 0 / 0.6647 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004758/0.201, allocations: 256.8 kB / 0.6649 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.201, allocations: 67.39 kB / 0.665 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.201, allocations: 4 kB / 0.665 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2011, allocations: 4 kB / 0.665 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2012, allocations: 11.98 kB / 0.665 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2012, allocations: 0 / 0.665 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.2013, allocations: 23.97 kB / 0.665 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.2014, allocations: 8 kB / 0.665 GB, free: 4.445 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.0001271/0.2015, allocations: 151.5 kB / 0.6652 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.2015, allocations: 15.91 kB / 0.6652 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.2016, allocations: 8.375 kB / 0.6652 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2016, allocations: 0 / 0.6652 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2016, allocations: 0 / 0.6652 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2016, allocations: 0 / 0.6652 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.2018, allocations: 201.6 kB / 0.6654 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2018, allocations: 256 / 0.6654 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-05/0.2019, allocations: 19.92 kB / 0.6654 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2019, allocations: 0 / 0.6654 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.2019, allocations: 4 kB / 0.6654 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.2019, allocations: 4 kB / 0.6654 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2019, allocations: 3.984 kB / 0.6654 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.2024, allocations: 242.6 kB / 0.6656 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.2025, allocations: 92.94 kB / 0.6657 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.2025, allocations: 7.938 kB / 0.6657 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2027, allocations: 23.97 kB / 0.6658 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.2028, allocations: 35.95 kB / 0.6658 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.2028, allocations: 8 kB / 0.6658 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.304e-05/0.2029, allocations: 97.94 kB / 0.6659 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2029, allocations: 0 / 0.6659 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002148/0.2031, allocations: 27.94 kB / 0.6659 GB, free: 3.41 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.0001312/0.2033, allocations: 111.1 kB / 0.666 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005229/0.2038, allocations: 270.7 kB / 0.6663 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2038, allocations: 0 / 0.6663 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.2041, allocations: 135.4 kB / 0.6664 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.2043, allocations: 15.98 kB / 0.6664 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.2049, allocations: 219.2 kB / 0.6666 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.2052, allocations: 0.6885 MB / 0.6673 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.935e-05/0.2053, allocations: 7.984 kB / 0.6673 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.2053, allocations: 11.44 kB / 0.6673 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.2054, allocations: 0 / 0.6673 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.004733/0.2101, allocations: 1.858 MB / 0.6691 GB, free: 24 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)