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.001218/0.001218, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001306/0.001306, allocations: 187 kB / 17.34 MB, free: 5.734 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1764/0.1764, allocations: 28.78 MB / 320 MB, free: 1.926 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 55.91 kB / 444.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1093, allocations: 56.42 MB / 0.4896 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003509/0.1128, allocations: 2.089 MB / 0.4917 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.1138, allocations: 315.1 kB / 0.492 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.1141, allocations: 4 kB / 0.492 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.1144, allocations: 67.19 kB / 0.492 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1146, allocations: 35.5 kB / 0.4921 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.115, allocations: 159.8 kB / 0.4922 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005081/0.1155, allocations: 404.5 kB / 0.4926 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.1161, allocations: 358.2 kB / 0.4929 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1162, allocations: 155.3 kB / 0.4931 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.1164, allocations: 190.9 kB / 0.4933 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.486e-05/0.1165, allocations: 44 kB / 0.4933 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.156e-05/0.1166, allocations: 44 kB / 0.4933 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.1166, allocations: 107.6 kB / 0.4935 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.1168, allocations: 206.7 kB / 0.4936 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.1172, allocations: 446 kB / 0.4941 GB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1173, allocations: 0 / 0.4941 GB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1173, allocations: 0 / 0.4941 GB, free: 5.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1173, allocations: 0 / 0.4941 GB, free: 5.547 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.000957/0.1183, allocations: 0.7101 MB / 0.4948 GB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1183, allocations: 12.03 kB / 0.4948 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.691e-05/0.1184, allocations: 56.27 kB / 0.4948 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.1189, allocations: 328.3 kB / 0.4951 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.119, allocations: 45.62 kB / 0.4952 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.119, allocations: 48.38 kB / 0.4952 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.1197, allocations: 491.7 kB / 0.4957 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1198, allocations: 12.12 kB / 0.4957 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.1198, allocations: 23.94 kB / 0.4957 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.1198, allocations: 12 kB / 0.4958 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.1203, allocations: 277.1 kB / 0.496 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.1223, allocations: 1.619 MB / 0.4976 GB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.1226, allocations: 194.5 kB / 0.4978 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.1228, allocations: 88.84 kB / 0.4979 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1228, allocations: 4 kB / 0.4979 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1228, allocations: 34.55 kB / 0.4979 GB, free: 1.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.1229, allocations: 0 / 0.4979 GB, free: 1.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004383/0.1233, allocations: 256.3 kB / 0.4981 GB, free: 1.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.1234, allocations: 55.41 kB / 0.4982 GB, free: 1.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1236, allocations: 254.7 kB / 0.4984 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1236, allocations: 29.7 kB / 0.4985 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1238, allocations: 259.7 kB / 0.4987 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.1239, allocations: 70.95 kB / 0.4988 GB, free: 476 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-05/0.1239, allocations: 53.55 kB / 0.4988 GB, free: 416 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1241, allocations: 346.7 kB / 0.4992 GB, free: 60 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/0.1242, allocations: 59.98 kB / 0.4992 GB, free: 0 / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.1243, allocations: 114 kB / 0.4993 GB, free: 15.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.1246, allocations: 193.4 kB / 0.4995 GB, free: 15.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1246, allocations: 4 kB / 0.4995 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003405/0.1249, allocations: 241 kB / 0.4998 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.125, allocations: 11.94 kB / 0.4998 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.125, allocations: 0 / 0.4998 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.125, allocations: 4 kB / 0.4998 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.1252, allocations: 43.92 kB / 0.4998 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.1252, allocations: 4 kB / 0.4998 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.797e-05/0.1253, allocations: 27.69 kB / 0.4998 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1253, allocations: 8.188 kB / 0.4998 GB, free: 15.32 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.0001528/0.1255, allocations: 161.7 kB / 0.5 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.1255, allocations: 19.72 kB / 0.5 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.382e-05/0.1256, allocations: 30.19 kB / 0.5 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1256, allocations: 7.984 kB / 0.5001 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1256, allocations: 0 / 0.5001 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1256, allocations: 3.938 kB / 0.5001 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00072/0.1264, allocations: 0.6661 MB / 0.5007 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1264, allocations: 0 / 0.5007 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.1266, allocations: 31.98 kB / 0.5007 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1266, allocations: 0 / 0.5007 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1266, allocations: 8 kB / 0.5007 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/0.1266, allocations: 3.938 kB / 0.5008 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1266, allocations: 4 kB / 0.5008 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.127, allocations: 372.7 kB / 0.5011 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.1271, allocations: 108.8 kB / 0.5012 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.1272, allocations: 4 kB / 0.5012 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1273, allocations: 15.88 kB / 0.5012 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1273, allocations: 7.984 kB / 0.5012 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1273, allocations: 8 kB / 0.5013 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.1275, allocations: 186 kB / 0.5014 GB, free: 13.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1275, allocations: 0 / 0.5014 GB, free: 13.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.1278, allocations: 83.44 kB / 0.5015 GB, free: 13.52 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 0.0001005/0.1279, allocations: 95.19 kB / 0.5016 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.1282, allocations: 167.9 kB / 0.5018 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1282, allocations: 0 / 0.5018 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1284, allocations: 79.92 kB / 0.5018 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.1287, allocations: 45.86 kB / 0.5019 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.1299, allocations: 0.6712 MB / 0.5025 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.1303, allocations: 0.8145 MB / 0.5033 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.1304, allocations: 23.38 kB / 0.5034 GB, free: 11.56 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1304, allocations: 4 kB / 0.5034 GB, free: 11.56 MB / 398.1 MB Notification: Performance of Templates: time 0.006417/0.1368, allocations: 3.482 MB / 0.5068 GB, free: 8.07 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)