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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009984/0.0009984, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009405/0.0009405, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8719/0.8719, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.126e-05, allocations: 2.312 kB / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002084/0.002105, allocations: 1.57 MB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007503/0.002855, allocations: 0.5171 MB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.133e-05/0.002917, allocations: 0.625 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.632e-05/0.003013, allocations: 10.06 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.00307, allocations: 20.72 kB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.003295, allocations: 46.19 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.003457, allocations: 107.4 kB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.003534, allocations: 8.188 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.003708, allocations: 68.92 kB / 482.7 MB, free: 4.262 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.003776, allocations: 31.91 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.003796, allocations: 8 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.455e-05/0.00385, allocations: 16.55 kB / 482.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.003881, allocations: 11.94 kB / 482.8 MB, free: 4.195 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.003924, allocations: 40.8 kB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.004047, allocations: 79.72 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004049, allocations: 0.5938 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00405, allocations: 0 / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004054, allocations: 5.375 kB / 482.9 MB, free: 4.074 MB / 442.7 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.0004251/0.004479, allocations: 351.2 kB / 483.2 MB, free: 3.699 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.004512, allocations: 8.812 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.00462, allocations: 20.92 kB / 483.3 MB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.004764, allocations: 135.1 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.004776, allocations: 4.375 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.004789, allocations: 8.375 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.004949, allocations: 125.4 kB / 483.5 MB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004956, allocations: 4.188 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.004967, allocations: 4.656 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.004972, allocations: 0 / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.266e-05/0.005025, allocations: 62.58 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.005287, allocations: 183.8 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.106e-05/0.005378, allocations: 76.27 kB / 483.9 MB, free: 3.008 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.005419, allocations: 59.55 kB / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.005432, allocations: 3.984 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.005559, allocations: 122.1 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.005561, allocations: 0 / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001789/0.00574, allocations: 191.3 kB / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.005777, allocations: 89.09 kB / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.552e-05/0.005843, allocations: 138.4 kB / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.005859, allocations: 34.33 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.005897, allocations: 92.03 kB / 484.6 MB, free: 2.207 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.005918, allocations: 24.44 kB / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.005964, allocations: 29.72 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.912e-05/0.006043, allocations: 319.4 kB / 484.9 MB, free: 1.828 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.006096, allocations: 80.02 kB / 485 MB, free: 1.738 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.835e-05/0.006145, allocations: 83.39 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.006229, allocations: 137.5 kB / 485.2 MB, free: 1.488 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006231, allocations: 0 / 485.2 MB, free: 1.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001385/0.00637, allocations: 216.9 kB / 485.4 MB, free: 1.246 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.006408, allocations: 68.39 kB / 485.5 MB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006411, allocations: 0 / 485.5 MB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.006422, allocations: 0 / 485.5 MB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.006492, allocations: 16.86 kB / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.006495, allocations: 160 / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.006557, allocations: 20.89 kB / 485.5 MB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.006568, allocations: 4 kB / 485.5 MB, free: 1.129 MB / 442.7 MB 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 7.896e-05/0.006647, allocations: 152.2 kB / 485.7 MB, free: 0.9648 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.006663, allocations: 15.94 kB / 485.7 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.006685, allocations: 12.77 kB / 485.7 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006687, allocations: 4 kB / 485.7 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.006689, allocations: 4.438 kB / 485.7 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.006692, allocations: 1.844 kB / 485.7 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.839e-05/0.00676, allocations: 77.88 kB / 485.8 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006761, allocations: 0 / 485.8 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.00679, allocations: 11.98 kB / 485.8 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.006792, allocations: 0 / 485.8 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.0068, allocations: 5.625 kB / 485.8 MB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.006803, allocations: 8.172 kB / 485.8 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006804, allocations: 0 / 485.8 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.006932, allocations: 172.5 kB / 486 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.006946, allocations: 17.66 kB / 486 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.006963, allocations: 4 kB / 486 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.00701, allocations: 24.98 kB / 486.1 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.007088, allocations: 27.95 kB / 486.1 MB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.007097, allocations: 8 kB / 486.1 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.186e-05/0.007119, allocations: 25.53 kB / 486.1 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007119, allocations: 0 / 486.1 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001146/0.007234, allocations: 25.81 kB / 486.1 MB, free: 496 kB / 442.7 MB 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 7.362e-05/0.007307, allocations: 80.41 kB / 486.2 MB, free: 408 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.007486, allocations: 272.7 kB / 486.5 MB, free: 88 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.007489, allocations: 5.125 kB / 486.5 MB, free: 84 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.48e-05/0.007584, allocations: 129.9 kB / 486.6 MB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.007698, allocations: 16.5 kB / 486.6 MB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.008175, allocations: 241.1 kB / 486.9 MB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.652e-05/0.008211, allocations: 63.34 kB / 486.9 MB, free: 15.56 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.336e-05/0.008245, allocations: 9.469 kB / 486.9 MB, free: 15.56 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.904e-05/0.008344, allocations: 84.78 kB / 487 MB, free: 15.48 MB / 458.7 MB Notification: Performance of SimCode: time 8.52e-07/0.008345, allocations: 0 / 487 MB, free: 15.48 MB / 458.7 MB Notification: Performance of Templates: time 0.003563/0.01191, allocations: 2.082 MB / 489.1 MB, free: 13.54 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7891149977222085]