Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.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.0009823/0.0009823, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009137/0.0009137, allocations: 169.3 kB / 23.02 MB, free: 1.551 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 0.9266/0.9266, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.1542/0.1542, allocations: 21.8 MB / 281.7 MB, free: 7.18 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 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(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 358.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.253e-05, allocations: 2.312 kB / 358.8 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.00248/0.002512, allocations: 1.888 MB / 360.6 MB, free: 3.215 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005632/0.003075, allocations: 303.1 kB / 360.9 MB, free: 2.918 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.003239, allocations: 7.938 kB / 360.9 MB, free: 2.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.00341, allocations: 71.23 kB / 361 MB, free: 2.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.228e-05/0.003492, allocations: 35.5 kB / 361 MB, free: 2.805 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.003736, allocations: 159.8 kB / 361.2 MB, free: 2.648 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.004042, allocations: 404.4 kB / 361.6 MB, free: 2.254 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.004348, allocations: 250.8 kB / 361.8 MB, free: 1.996 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.004756, allocations: 235.5 kB / 362.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.004857, allocations: 127.5 kB / 362.2 MB, free: 1.641 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.004904, allocations: 44 kB / 362.2 MB, free: 1.598 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.315e-05/0.004937, allocations: 44 kB / 362.3 MB, free: 1.555 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.004994, allocations: 111.5 kB / 362.4 MB, free: 1.445 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.254e-05/0.005077, allocations: 131.6 kB / 362.5 MB, free: 1.316 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.005351, allocations: 298.5 kB / 362.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.005355, allocations: 4 kB / 362.8 MB, free: 1.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.005356, allocations: 0 / 362.8 MB, free: 1.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.005361, allocations: 0 / 362.8 MB, free: 1.02 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0006356/0.005997, allocations: 0.7457 MB / 363.6 MB, free: 240 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.006041, allocations: 12.03 kB / 363.6 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.863e-05/0.006129, allocations: 96.61 kB / 363.7 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.006416, allocations: 280.6 kB / 363.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.006441, allocations: 37.69 kB / 364 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.006493, allocations: 52.38 kB / 364 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.00689, allocations: 423.4 kB / 364.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.006901, allocations: 192 / 364.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.006926, allocations: 20.38 kB / 364.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.006941, allocations: 20.38 kB / 364.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.007166, allocations: 183.6 kB / 364.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.008438, allocations: 1.721 MB / 366.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.008684, allocations: 147.1 kB / 366.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.841e-05/0.008753, allocations: 55.66 kB / 366.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.008765, allocations: 4 kB / 366.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.008787, allocations: 37.39 kB / 366.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.008789, allocations: 0 / 366.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003021/0.009092, allocations: 180.7 kB / 366.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.00912, allocations: 55.34 kB / 366.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.009275, allocations: 266.6 kB / 367.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.009288, allocations: 25.7 kB / 367.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.009416, allocations: 318.8 kB / 367.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.009453, allocations: 71.38 kB / 367.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.009508, allocations: 47.38 kB / 367.6 MB, free: 12.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.009629, allocations: 0.504 MB / 368.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.694e-05/0.009686, allocations: 43.97 kB / 368.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.009766, allocations: 97.78 kB / 368.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.009925, allocations: 168.3 kB / 368.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.009928, allocations: 4 kB / 368.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002153/0.01014, allocations: 194.3 kB / 368.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01016, allocations: 7.938 kB / 368.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01016, allocations: 0 / 368.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.01018, allocations: 4 kB / 368.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.0103, allocations: 43.92 kB / 368.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.0103, allocations: 0 / 368.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.01035, allocations: 19.89 kB / 368.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.01036, allocations: 8 kB / 368.6 MB, free: 10.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (Predator.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Prey_1.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0001071/0.01047, allocations: 176.4 kB / 368.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.0105, allocations: 28.02 kB / 368.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.01054, allocations: 29.81 kB / 368.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.01054, allocations: 4 kB / 368.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01055, allocations: 0 / 368.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01055, allocations: 3.984 kB / 368.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.01127, allocations: 0.544 MB / 369.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01127, allocations: 0 / 369.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.01138, allocations: 35.92 kB / 369.5 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01138, allocations: 0 / 369.5 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.0114, allocations: 4 kB / 369.5 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.0114, allocations: 0 / 369.5 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01141, allocations: 8 kB / 369.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.01168, allocations: 338.7 kB / 369.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.0117, allocations: 27.83 kB / 369.8 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.01171, allocations: 0 / 369.8 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.85e-05/0.01176, allocations: 8 kB / 369.8 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.01178, allocations: 15.97 kB / 369.9 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.01179, allocations: 8 kB / 369.9 MB, free: 9.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.592e-05/0.01188, allocations: 181.5 kB / 370 MB, free: 9.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01188, allocations: 0 / 370 MB, free: 9.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002034/0.01208, allocations: 79.56 kB / 370.1 MB, free: 9.316 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Prey_1.Integrator1.y,Prey_2.Integrator1.y,Predator.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.76e-05/0.01217, allocations: 103.2 kB / 370.2 MB, free: 9.203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.01235, allocations: 128.4 kB / 370.3 MB, free: 9.074 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01236, allocations: 0 / 370.3 MB, free: 9.074 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.052e-05/0.01242, allocations: 67.59 kB / 370.4 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.01266, allocations: 23.95 kB / 370.4 MB, free: 8.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.01336, allocations: 0.6205 MB / 371.1 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.821e-05/0.01342, allocations: 99.94 kB / 371.2 MB, free: 8.211 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.733e-05/0.01347, allocations: 25.95 kB / 371.2 MB, free: 8.188 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.01352, allocations: 16.5 kB / 371.2 MB, free: 8.172 MB / 346.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01352, allocations: 0 / 371.2 MB, free: 8.172 MB / 346.7 MB Notification: Performance of Templates: time 0.003606/0.01712, allocations: 1.403 MB / 372.6 MB, free: 6.793 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.050737879704684]