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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002337/0.002337, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8696/0.8696, allocations: 134 MB / 438.5 MB, free: 13.6 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 75.86 kB / 0.6083 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4561, allocations: 84.66 MB / 0.691 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002572/0.4587, allocations: 1.487 MB / 0.6925 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008524/0.4595, allocations: 466.5 kB / 0.6929 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.4596, allocations: 1.094 kB / 0.6929 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.4597, allocations: 13.02 kB / 0.6929 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.252e-05/0.4598, allocations: 16.97 kB / 0.6929 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.46, allocations: 34.55 kB / 0.693 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000185/0.4602, allocations: 107.1 kB / 0.6931 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.4603, allocations: 12.72 kB / 0.6931 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.4605, allocations: 45.69 kB / 0.6931 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.4605, allocations: 39.92 kB / 0.6932 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.4606, allocations: 7.938 kB / 0.6932 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.303e-05/0.4606, allocations: 7.312 kB / 0.6932 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.4607, allocations: 19.28 kB / 0.6932 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.4607, allocations: 40.28 kB / 0.6932 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.4609, allocations: 83.33 kB / 0.6933 GB, free: 420 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4609, allocations: 1.188 kB / 0.6933 GB, free: 420 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4609, allocations: 0 / 0.6933 GB, free: 420 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.4609, allocations: 0 / 0.6933 GB, free: 420 kB / 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.0007524/0.4616, allocations: 453.9 kB / 0.6938 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4617, allocations: 8.844 kB / 0.6938 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.4617, allocations: 10.73 kB / 0.6938 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.462, allocations: 183.6 kB / 0.6939 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.462, allocations: 8.75 kB / 0.694 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.462, allocations: 10.09 kB / 0.694 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.4624, allocations: 118.4 kB / 0.6941 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4624, allocations: 4.875 kB / 0.6941 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.4624, allocations: 2.281 kB / 0.6941 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4624, allocations: 1.219 kB / 0.6941 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.4627, allocations: 85.45 kB / 0.6942 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.4634, allocations: 344 kB / 0.6945 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.4637, allocations: 101.8 kB / 0.6946 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.4639, allocations: 63.31 kB / 0.6947 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.4639, allocations: 5.125 kB / 0.6947 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/0.4643, allocations: 119.6 kB / 0.6948 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.4643, allocations: 0 / 0.6948 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0007546/0.465, allocations: 276.8 kB / 0.695 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.4651, allocations: 89.25 kB / 0.6951 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.4653, allocations: 131.8 kB / 0.6952 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.4653, allocations: 28.98 kB / 0.6953 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.4654, allocations: 95.66 kB / 0.6954 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.4654, allocations: 19.55 kB / 0.6954 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.4655, allocations: 29.69 kB / 0.6954 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4656, allocations: 324.1 kB / 0.6957 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.4658, allocations: 66.45 kB / 0.6958 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.466, allocations: 66.45 kB / 0.6958 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.4663, allocations: 186.1 kB / 0.696 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4663, allocations: 1.375 kB / 0.696 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005195/0.4669, allocations: 261.6 kB / 0.6963 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.226e-05/0.4669, allocations: 67.64 kB / 0.6963 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4669, allocations: 0 / 0.6963 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.467, allocations: 1.375 kB / 0.6963 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4671, allocations: 13.61 kB / 0.6964 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.4671, allocations: 3.938 kB / 0.6964 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4672, allocations: 21.72 kB / 0.6964 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.4673, allocations: 8.125 kB / 0.6964 GB, free: 13.75 MB / 0.5137 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.0001524/0.4674, allocations: 154.5 kB / 0.6965 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.4674, allocations: 8.078 kB / 0.6965 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.4675, allocations: 15.11 kB / 0.6966 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4675, allocations: 0 / 0.6966 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4675, allocations: 1.375 kB / 0.6966 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4675, allocations: 256 / 0.6966 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.4677, allocations: 204.7 kB / 0.6968 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4677, allocations: 4 kB / 0.6968 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.4678, allocations: 16.23 kB / 0.6968 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4678, allocations: 1.375 kB / 0.6968 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.4678, allocations: 1.375 kB / 0.6968 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4678, allocations: 1.531 kB / 0.6968 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4678, allocations: 0 / 0.6968 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.4683, allocations: 250 kB / 0.697 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.4684, allocations: 90.52 kB / 0.6971 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.4684, allocations: 10.48 kB / 0.6971 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.4686, allocations: 16.89 kB / 0.6971 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.4687, allocations: 33.77 kB / 0.6972 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4687, allocations: 12.34 kB / 0.6972 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.337e-05/0.4688, allocations: 95.17 kB / 0.6973 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4688, allocations: 0 / 0.6973 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002121/0.469, allocations: 33 kB / 0.6973 GB, free: 12.92 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.000121/0.4691, allocations: 108.6 kB / 0.6974 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005378/0.4697, allocations: 258.6 kB / 0.6976 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4697, allocations: 0 / 0.6976 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.4699, allocations: 125.5 kB / 0.6978 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.4701, allocations: 23.05 kB / 0.6978 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.4707, allocations: 229.4 kB / 0.698 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.4711, allocations: 0.6919 MB / 0.6987 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.202e-05/0.4712, allocations: 8.141 kB / 0.6987 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.4712, allocations: 16.06 kB / 0.6987 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of SimCode: time 4.7e-07/0.4712, allocations: 0 / 0.6987 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.005219/0.4764, allocations: 1.883 MB / 0.7005 GB, free: 10.68 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.903632707893848]