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.001227/0.001227, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001312/0.001312, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.197/0.197, allocations: 28.79 MB / 320 MB, free: 1.879 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001389, allocations: 59.91 kB / 444.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1027, allocations: 56.41 MB / 0.4896 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003115/0.1058, allocations: 2.093 MB / 0.4917 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008272/0.1067, allocations: 315.1 kB / 0.492 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.1071, allocations: 15.88 kB / 0.492 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.1073, allocations: 67.25 kB / 0.492 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1075, allocations: 27.56 kB / 0.4921 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.1079, allocations: 163.8 kB / 0.4922 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.1084, allocations: 400.5 kB / 0.4926 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005132/0.1089, allocations: 358.3 kB / 0.4929 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1091, allocations: 155.2 kB / 0.4931 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1093, allocations: 190.9 kB / 0.4933 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.144e-05/0.1093, allocations: 44 kB / 0.4933 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.028e-05/0.1094, allocations: 44 kB / 0.4934 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.1095, allocations: 111.6 kB / 0.4935 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1096, allocations: 210.8 kB / 0.4937 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.1101, allocations: 438.1 kB / 0.4941 GB, free: 5.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1101, allocations: 0 / 0.4941 GB, free: 5.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1101, allocations: 0 / 0.4941 GB, free: 5.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1101, allocations: 0 / 0.4941 GB, free: 5.504 MB / 382.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.0009489/0.1111, allocations: 0.7139 MB / 0.4948 GB, free: 4.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1111, allocations: 12.03 kB / 0.4948 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.1112, allocations: 56.27 kB / 0.4948 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.1116, allocations: 320.3 kB / 0.4951 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.1117, allocations: 41.69 kB / 0.4952 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.1117, allocations: 52.38 kB / 0.4952 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.1124, allocations: 495.6 kB / 0.4957 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1124, allocations: 192 / 0.4957 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.1125, allocations: 23.94 kB / 0.4957 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1125, allocations: 16 kB / 0.4957 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.1129, allocations: 277 kB / 0.496 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.1148, allocations: 1.627 MB / 0.4976 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.1152, allocations: 194.6 kB / 0.4978 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.1153, allocations: 80.84 kB / 0.4979 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.1153, allocations: 0 / 0.4979 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1153, allocations: 34.55 kB / 0.4979 GB, free: 1.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.1153, allocations: 8 kB / 0.4979 GB, free: 1.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004316/0.1158, allocations: 252.1 kB / 0.4981 GB, free: 1.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1158, allocations: 59.34 kB / 0.4982 GB, free: 1.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.1161, allocations: 254.7 kB / 0.4984 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1161, allocations: 29.7 kB / 0.4985 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1163, allocations: 259.7 kB / 0.4987 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.1163, allocations: 70.94 kB / 0.4988 GB, free: 436 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.1164, allocations: 49.61 kB / 0.4988 GB, free: 380 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1165, allocations: 350.7 kB / 0.4992 GB, free: 20 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1166, allocations: 60.06 kB / 0.4992 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1168, allocations: 117.9 kB / 0.4993 GB, free: 15.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.117, allocations: 197 kB / 0.4995 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.117, allocations: 0 / 0.4995 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003209/0.1173, allocations: 244.5 kB / 0.4998 GB, free: 15.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1174, allocations: 14.69 kB / 0.4998 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1174, allocations: 0 / 0.4998 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1174, allocations: 7.938 kB / 0.4998 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.1176, allocations: 39.98 kB / 0.4998 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.1176, allocations: 7.938 kB / 0.4998 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.1177, allocations: 27.69 kB / 0.4999 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.1177, allocations: 4 kB / 0.4999 GB, free: 15.27 MB / 398.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.0001381/0.1179, allocations: 161.7 kB / 0.5 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.1179, allocations: 23.72 kB / 0.5 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.295e-05/0.118, allocations: 30.19 kB / 0.5001 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.118, allocations: 7.984 kB / 0.5001 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.118, allocations: 0 / 0.5001 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.118, allocations: 3.938 kB / 0.5001 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006692/0.1187, allocations: 0.6583 MB / 0.5007 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1187, allocations: 0 / 0.5007 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.1189, allocations: 35.92 kB / 0.5007 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1189, allocations: 0 / 0.5007 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1189, allocations: 4 kB / 0.5008 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.1189, allocations: 3.938 kB / 0.5008 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1189, allocations: 4 kB / 0.5008 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.1193, allocations: 369.5 kB / 0.5011 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.1194, allocations: 104.8 kB / 0.5012 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.1194, allocations: 4 kB / 0.5012 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1195, allocations: 11.88 kB / 0.5012 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.1195, allocations: 7.984 kB / 0.5012 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1196, allocations: 8 kB / 0.5012 GB, free: 13.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.1197, allocations: 190 kB / 0.5014 GB, free: 13.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1197, allocations: 0 / 0.5014 GB, free: 13.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.12, allocations: 83.44 kB / 0.5015 GB, free: 13.48 MB / 398.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.289e-05/0.1201, allocations: 99.19 kB / 0.5016 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.1204, allocations: 167.8 kB / 0.5018 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1204, allocations: 0 / 0.5018 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.759e-05/0.1205, allocations: 75.92 kB / 0.5018 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1208, allocations: 50.31 kB / 0.5019 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009495/0.1218, allocations: 0.6712 MB / 0.5025 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.1221, allocations: 0.8141 MB / 0.5033 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.1222, allocations: 23.44 kB / 0.5034 GB, free: 11.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1222, allocations: 0 / 0.5034 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Templates: time 0.005179/0.1274, allocations: 3.421 MB / 0.5067 GB, free: 8.094 MB / 398.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)