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.005903/0.005903, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001132/0.001132, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.533/1.533, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8324/0.8324, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 58.59 kB / 0.5813 GB, free: 1.035 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2089, allocations: 80.2 MB / 0.6596 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002894/0.2119, allocations: 1.483 MB / 0.6611 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009045/0.2128, allocations: 462.8 kB / 0.6615 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.2129, allocations: 0 / 0.6615 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.213, allocations: 7.922 kB / 0.6615 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.2132, allocations: 19.81 kB / 0.6616 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.2134, allocations: 39.88 kB / 0.6616 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.2136, allocations: 95.77 kB / 0.6617 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2138, allocations: 20.16 kB / 0.6617 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.214, allocations: 55.83 kB / 0.6618 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2141, allocations: 43.83 kB / 0.6618 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.2141, allocations: 8 kB / 0.6618 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.285e-05/0.2142, allocations: 8 kB / 0.6618 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.2142, allocations: 11.98 kB / 0.6618 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.2143, allocations: 39.8 kB / 0.6619 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.2145, allocations: 83.69 kB / 0.6619 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2145, allocations: 0 / 0.6619 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2145, allocations: 0 / 0.6619 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.2145, allocations: 4 kB / 0.6619 GB, free: 11.27 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.0008111/0.2154, allocations: 450.6 kB / 0.6624 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2154, allocations: 8.031 kB / 0.6624 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.2155, allocations: 8.844 kB / 0.6624 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.2157, allocations: 188.2 kB / 0.6626 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2157, allocations: 384 / 0.6626 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.2158, allocations: 12.38 kB / 0.6626 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.2161, allocations: 121.7 kB / 0.6627 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2161, allocations: 0 / 0.6627 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.2161, allocations: 11.98 kB / 0.6627 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2162, allocations: 0 / 0.6627 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.2165, allocations: 91.86 kB / 0.6628 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.2171, allocations: 328.7 kB / 0.6631 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.2174, allocations: 102.5 kB / 0.6632 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.2176, allocations: 72.94 kB / 0.6633 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2176, allocations: 3.984 kB / 0.6633 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.218, allocations: 127.3 kB / 0.6634 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.664e-06/0.218, allocations: 0 / 0.6634 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006894/0.2187, allocations: 271.2 kB / 0.6637 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.2187, allocations: 93.03 kB / 0.6637 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2189, allocations: 133.8 kB / 0.6639 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2189, allocations: 25.7 kB / 0.6639 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.219, allocations: 99.98 kB / 0.664 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.219, allocations: 15.81 kB / 0.664 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.2191, allocations: 29.7 kB / 0.664 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2192, allocations: 326.8 kB / 0.6644 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.2194, allocations: 63.95 kB / 0.6644 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.2196, allocations: 75.83 kB / 0.6645 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.2199, allocations: 186.2 kB / 0.6647 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2199, allocations: 0 / 0.6647 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004829/0.2204, allocations: 256.9 kB / 0.6649 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.2205, allocations: 69.27 kB / 0.665 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2205, allocations: 8 kB / 0.665 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2205, allocations: 0 / 0.665 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2207, allocations: 11.98 kB / 0.665 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2207, allocations: 0 / 0.665 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.2208, allocations: 23.89 kB / 0.665 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.2208, allocations: 11.98 kB / 0.665 GB, free: 7.812 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.000122/0.221, allocations: 147.5 kB / 0.6652 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.221, allocations: 19.91 kB / 0.6652 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.221, allocations: 8.359 kB / 0.6652 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2211, allocations: 0 / 0.6652 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2211, allocations: 0 / 0.6652 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2211, allocations: 0 / 0.6652 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.2212, allocations: 197.5 kB / 0.6654 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2213, allocations: 0 / 0.6654 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.2213, allocations: 11.98 kB / 0.6654 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2214, allocations: 3.938 kB / 0.6654 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2214, allocations: 4 kB / 0.6654 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2214, allocations: 4 kB / 0.6654 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2214, allocations: 0 / 0.6654 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.2219, allocations: 246.6 kB / 0.6656 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.2219, allocations: 89.05 kB / 0.6657 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.2219, allocations: 11.92 kB / 0.6657 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.2221, allocations: 19.98 kB / 0.6658 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.2222, allocations: 39.89 kB / 0.6658 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.2222, allocations: 8 kB / 0.6658 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.2223, allocations: 98.36 kB / 0.6659 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2223, allocations: 0 / 0.6659 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002147/0.2225, allocations: 27.94 kB / 0.6659 GB, free: 6.785 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.0001213/0.2227, allocations: 109 kB / 0.666 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005435/0.2232, allocations: 266.7 kB / 0.6663 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2232, allocations: 0 / 0.6663 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.2235, allocations: 135.4 kB / 0.6664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.2237, allocations: 20.11 kB / 0.6664 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.2244, allocations: 219.2 kB / 0.6666 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.2247, allocations: 0.6924 MB / 0.6673 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.263e-05/0.2247, allocations: 7.984 kB / 0.6673 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.2248, allocations: 11.44 kB / 0.6673 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2248, allocations: 0 / 0.6673 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of Templates: time 0.005151/0.23, allocations: 1.861 MB / 0.6691 GB, free: 3.406 MB / 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)