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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7416/0.7416, allocations: 130.7 MB / 138.7 MB, free: 3.621 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.5 MB / 391.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009507/0.0009508, allocations: 98.03 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.563e-05, allocations: 0 / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4716, allocations: 81.57 MB / 0.6282 GB, free: 42.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.614, allocations: 111.3 MB / 0.7368 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.6143, allocations: 79.94 kB / 0.7369 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004819/0.6191, allocations: 1.539 MB / 0.7384 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6191, allocations: 0 / 0.7384 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.6192, allocations: 0 / 0.7384 GB, free: 13.87 MB / 0.5261 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.0005746/0.6197, allocations: 433.8 kB / 0.7388 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.6198, allocations: 11.97 kB / 0.7388 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.6198, allocations: 7.906 kB / 0.7388 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.6201, allocations: 195.7 kB / 0.739 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.6201, allocations: 4 kB / 0.739 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.6201, allocations: 4.188 kB / 0.739 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00014/0.6203, allocations: 51.92 kB / 0.7391 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.6204, allocations: 93.66 kB / 0.7392 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.6205, allocations: 0 / 0.7392 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.6205, allocations: 0 / 0.7392 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6205, allocations: 0 / 0.7392 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.621, allocations: 321.3 kB / 0.7395 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.6212, allocations: 74.5 kB / 0.7395 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.6212, allocations: 44.98 kB / 0.7396 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.6213, allocations: 4 kB / 0.7396 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.6214, allocations: 99.36 kB / 0.7397 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.6214, allocations: 0 / 0.7397 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0003031/0.6218, allocations: 141.6 kB / 0.7398 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.6218, allocations: 89.06 kB / 0.7399 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.303e-05/0.6219, allocations: 113 kB / 0.74 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.6219, allocations: 29.7 kB / 0.74 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.622, allocations: 99.97 kB / 0.7401 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.622, allocations: 16.75 kB / 0.7402 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.6221, allocations: 0 / 0.7402 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6222, allocations: 326.8 kB / 0.7405 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.6223, allocations: 43.94 kB / 0.7405 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.6223, allocations: 43.98 kB / 0.7405 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.629e-05/0.6224, allocations: 32.02 kB / 0.7406 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6224, allocations: 0 / 0.7406 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002463/0.6227, allocations: 153.5 kB / 0.7407 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/0.6227, allocations: 67.39 kB / 0.7408 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6227, allocations: 0 / 0.7408 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6228, allocations: 4 kB / 0.7408 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.6229, allocations: 15.98 kB / 0.7408 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.6229, allocations: 0.5 kB / 0.7408 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.6231, allocations: 35.92 kB / 0.7408 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.6231, allocations: 4 kB / 0.7408 GB, free: 11.13 MB / 0.5261 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.6232, allocations: 141.1 kB / 0.741 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.6232, allocations: 11.89 kB / 0.741 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.6233, allocations: 12.62 kB / 0.741 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.6233, allocations: 2.688 kB / 0.741 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6233, allocations: 4 kB / 0.741 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6233, allocations: 0 / 0.741 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.6234, allocations: 170.1 kB / 0.7412 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6234, allocations: 7.984 kB / 0.7412 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.584e-05/0.6235, allocations: 11.98 kB / 0.7412 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6236, allocations: 4 kB / 0.7412 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.6236, allocations: 0 / 0.7412 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.6236, allocations: 0 / 0.7412 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6236, allocations: 3.938 kB / 0.7412 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.6238, allocations: 173 kB / 0.7414 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.6239, allocations: 85.02 kB / 0.7414 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.6239, allocations: 11.98 kB / 0.7415 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.6241, allocations: 19.98 kB / 0.7415 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.6242, allocations: 47.88 kB / 0.7415 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.6242, allocations: 4 kB / 0.7415 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.173e-05/0.6243, allocations: 93.25 kB / 0.7416 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6243, allocations: 0 / 0.7416 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002173/0.6245, allocations: 31.94 kB / 0.7416 GB, free: 10.23 MB / 0.5261 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.6247, allocations: 103.2 kB / 0.7417 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.625, allocations: 222.8 kB / 0.742 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.625, allocations: 3.938 kB / 0.742 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.6251, allocations: 119.4 kB / 0.7421 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.6253, allocations: 15.95 kB / 0.7421 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.6257, allocations: 136.5 kB / 0.7422 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.626, allocations: 0.6924 MB / 0.7429 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.163e-05/0.6261, allocations: 12.17 kB / 0.7429 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.6261, allocations: 11.44 kB / 0.7429 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of SimCode: time 2.244e-06/0.6261, allocations: 0 / 0.7429 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of Templates: time 0.003891/0.63, allocations: 1.422 MB / 0.7443 GB, free: 7.43 MB / 0.5261 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)