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.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/SystemDynamics 2.1.2-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/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(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 107.8 kB / 16.27 MB, free: 5.988 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.001532/0.001532, allocations: 192.3 kB / 17.2 MB, free: 5.613 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.511/1.511, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1677/0.1677, allocations: 28.79 MB / 319.8 MB, free: 2.004 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.95 kB / 387.2 MB, free: 41.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09207, allocations: 56.44 MB / 443.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003721/0.09583, allocations: 2.08 MB / 445.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.09674, allocations: 330.9 kB / 446.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003448/0.09711, allocations: 8 kB / 446.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.09746, allocations: 63.25 kB / 446.2 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.09766, allocations: 35.5 kB / 446.2 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.09799, allocations: 155.8 kB / 446.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004939/0.0985, allocations: 396.6 kB / 446.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005186/0.09903, allocations: 350.2 kB / 447.1 MB, free: 396 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.09918, allocations: 155.4 kB / 447.2 MB, free: 240 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.09936, allocations: 190.9 kB / 447.4 MB, free: 48 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.09942, allocations: 44 kB / 447.5 MB, free: 4 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.176e-05/0.0995, allocations: 48.05 kB / 447.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.09958, allocations: 103.6 kB / 447.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.09974, allocations: 206.8 kB / 447.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.1002, allocations: 414.8 kB / 448.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1002, allocations: 3.938 kB / 448.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1002, allocations: 0 / 448.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1002, allocations: 0 / 448.2 MB, free: 15.24 MB / 334.1 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.000938/0.1011, allocations: 0.7139 MB / 448.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1012, allocations: 12.03 kB / 448.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.1013, allocations: 52.28 kB / 449 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.1017, allocations: 320.3 kB / 449.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.1017, allocations: 41.69 kB / 449.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.1018, allocations: 56.28 kB / 449.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.1025, allocations: 491.6 kB / 449.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1025, allocations: 192 / 449.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.1025, allocations: 23.94 kB / 449.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.1026, allocations: 19.98 kB / 449.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.103, allocations: 273 kB / 450.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.1049, allocations: 1.642 MB / 451.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.1053, allocations: 190.6 kB / 452 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1054, allocations: 84.83 kB / 452.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1055, allocations: 0 / 452.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.1055, allocations: 46.44 kB / 452.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.072e-06/0.1055, allocations: 0 / 452.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004491/0.106, allocations: 244.9 kB / 452.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.106, allocations: 55.41 kB / 452.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1063, allocations: 258.7 kB / 452.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1063, allocations: 29.7 kB / 452.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1064, allocations: 255.7 kB / 453 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.1065, allocations: 82.83 kB / 453 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.1066, allocations: 49.7 kB / 453.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1067, allocations: 342.8 kB / 453.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1068, allocations: 59.98 kB / 453.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.107, allocations: 121.9 kB / 453.6 MB, free: 9.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.1072, allocations: 188.4 kB / 453.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1072, allocations: 0 / 453.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000347/0.1076, allocations: 252.2 kB / 454 MB, free: 9.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1076, allocations: 8 kB / 454 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1076, allocations: 3.984 kB / 454.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1077, allocations: 4 kB / 454.1 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.1078, allocations: 35.98 kB / 454.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.1079, allocations: 11.92 kB / 454.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.108, allocations: 27.69 kB / 454.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.108, allocations: 8 kB / 454.1 MB, free: 8.996 MB / 334.1 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.0001439/0.1082, allocations: 157.7 kB / 454.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.1082, allocations: 35.7 kB / 454.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.1083, allocations: 34.17 kB / 454.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1083, allocations: 4 kB / 454.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1083, allocations: 0 / 454.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1083, allocations: 3.938 kB / 454.4 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007211/0.1091, allocations: 0.6662 MB / 455 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1091, allocations: 0 / 455 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.1093, allocations: 31.92 kB / 455.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1093, allocations: 0 / 455.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1093, allocations: 12 kB / 455.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1093, allocations: 3.938 kB / 455.1 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1093, allocations: 0 / 455.1 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.1097, allocations: 369.5 kB / 455.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.1098, allocations: 100.7 kB / 455.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.1098, allocations: 8 kB / 455.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.11, allocations: 7.938 kB / 455.6 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.11, allocations: 8.031 kB / 455.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.11, allocations: 11.98 kB / 455.6 MB, free: 7.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.1102, allocations: 186 kB / 455.8 MB, free: 7.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1102, allocations: 0 / 455.8 MB, free: 7.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000324/0.1105, allocations: 79.44 kB / 455.8 MB, free: 7.203 MB / 334.1 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.949e-05/0.1106, allocations: 95.25 kB / 455.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.1109, allocations: 179.8 kB / 456.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.111, allocations: 384 / 456.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1111, allocations: 91.86 kB / 456.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.1115, allocations: 28.88 kB / 456.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1126, allocations: 0.6788 MB / 456.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.113, allocations: 0.8065 MB / 457.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.113, allocations: 23.44 kB / 457.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1131, allocations: 3.938 kB / 457.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of Templates: time 0.005874/0.1189, allocations: 3.399 MB / 461.1 MB, free: 1.828 MB / 334.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile (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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1)