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.005117/0.005117, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001085/0.001085, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.33/1.33, allocations: 222.9 MB / 240.4 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.1778/0.1778, allocations: 28.78 MB / 319.3 MB, free: 1.914 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.91 kB / 444.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1096, allocations: 56.41 MB / 0.489 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002972/0.1126, allocations: 2.093 MB / 0.491 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005496/0.1132, allocations: 311.1 kB / 0.4913 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.1133, allocations: 8 kB / 0.4913 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.1135, allocations: 63.25 kB / 0.4914 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1136, allocations: 47.44 kB / 0.4914 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1139, allocations: 155.8 kB / 0.4916 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.1143, allocations: 404.5 kB / 0.4919 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.1148, allocations: 362.2 kB / 0.4923 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1149, allocations: 151.3 kB / 0.4924 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1151, allocations: 186.9 kB / 0.4926 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.286e-05/0.1151, allocations: 44 kB / 0.4927 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.267e-05/0.1152, allocations: 44 kB / 0.4927 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.1153, allocations: 111.6 kB / 0.4928 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1154, allocations: 202.8 kB / 0.493 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.1158, allocations: 450 kB / 0.4934 GB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1158, allocations: 0 / 0.4934 GB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1159, allocations: 4 kB / 0.4934 GB, free: 5.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1159, allocations: 0 / 0.4934 GB, free: 5.523 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.0008741/0.1167, allocations: 0.7023 MB / 0.4941 GB, free: 4.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1168, allocations: 12.03 kB / 0.4941 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.1169, allocations: 56.27 kB / 0.4942 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.1173, allocations: 324.3 kB / 0.4945 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.1173, allocations: 49.62 kB / 0.4945 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-05/0.1174, allocations: 48.38 kB / 0.4946 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.118, allocations: 495.7 kB / 0.4951 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1181, allocations: 4.125 kB / 0.4951 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.1181, allocations: 23.94 kB / 0.4951 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.1181, allocations: 19.94 kB / 0.4951 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.1185, allocations: 273.1 kB / 0.4954 GB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.1202, allocations: 1.619 MB / 0.4969 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.1206, allocations: 194.6 kB / 0.4971 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.1207, allocations: 80.84 kB / 0.4972 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1208, allocations: 4 kB / 0.4972 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.1208, allocations: 34.56 kB / 0.4972 GB, free: 1.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.1208, allocations: 0 / 0.4972 GB, free: 1.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004167/0.1212, allocations: 256.1 kB / 0.4975 GB, free: 1.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1213, allocations: 55.41 kB / 0.4975 GB, free: 1.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1215, allocations: 262.7 kB / 0.4978 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1215, allocations: 29.7 kB / 0.4978 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1217, allocations: 255.7 kB / 0.4981 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.1217, allocations: 74.94 kB / 0.4981 GB, free: 460 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.1218, allocations: 53.55 kB / 0.4982 GB, free: 400 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1219, allocations: 342.8 kB / 0.4985 GB, free: 48 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.122, allocations: 64.05 kB / 0.4986 GB, free: 15.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1222, allocations: 114 kB / 0.4987 GB, free: 15.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.1224, allocations: 189.9 kB / 0.4989 GB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1224, allocations: 0 / 0.4989 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003145/0.1227, allocations: 248.5 kB / 0.4991 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1227, allocations: 8 kB / 0.4991 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1227, allocations: 3.938 kB / 0.4991 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1228, allocations: 4 kB / 0.4991 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.1229, allocations: 40.11 kB / 0.4991 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.123, allocations: 8 kB / 0.4992 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.71e-05/0.123, allocations: 27.69 kB / 0.4992 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1231, allocations: 8 kB / 0.4992 GB, free: 15.3 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.0001325/0.1232, allocations: 157.7 kB / 0.4993 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.1233, allocations: 19.72 kB / 0.4994 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.39e-05/0.1233, allocations: 34.19 kB / 0.4994 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1233, allocations: 4 kB / 0.4994 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1233, allocations: 3.984 kB / 0.4994 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.1234, allocations: 3.938 kB / 0.4994 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006364/0.124, allocations: 0.67 MB / 0.5001 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.124, allocations: 0 / 0.5001 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.1242, allocations: 27.98 kB / 0.5001 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1242, allocations: 0 / 0.5001 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1242, allocations: 8 kB / 0.5001 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1242, allocations: 3.938 kB / 0.5001 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1242, allocations: 3.938 kB / 0.5001 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.1246, allocations: 373.4 kB / 0.5005 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.1247, allocations: 104.8 kB / 0.5006 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1247, allocations: 8 kB / 0.5006 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.1248, allocations: 7.938 kB / 0.5006 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.1249, allocations: 7.984 kB / 0.5006 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1249, allocations: 4 kB / 0.5006 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.125, allocations: 190 kB / 0.5008 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.125, allocations: 0 / 0.5008 GB, free: 13.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.1253, allocations: 79.44 kB / 0.5008 GB, free: 13.51 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.734e-05/0.1254, allocations: 103.2 kB / 0.5009 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.1257, allocations: 159.9 kB / 0.5011 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1257, allocations: 4 kB / 0.5011 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.935e-05/0.1258, allocations: 79.92 kB / 0.5012 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1262, allocations: 28.88 kB / 0.5012 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.1271, allocations: 0.6564 MB / 0.5018 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1274, allocations: 0.8145 MB / 0.5026 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.091e-05/0.1275, allocations: 21.94 kB / 0.5027 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.1276, allocations: 23.38 kB / 0.5027 GB, free: 11.57 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.1276, allocations: 0 / 0.5027 GB, free: 11.57 MB / 398.1 MB Notification: Performance of Templates: time 0.004358/0.1319, allocations: 1.774 MB / 0.5044 GB, free: 9.797 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)