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.009477/0.009477, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001828/0.001828, allocations: 191.9 kB / 16.67 MB, free: 5.938 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1873/0.1873, allocations: 28.78 MB / 319.3 MB, free: 1.863 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 55.91 kB / 444.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1172, allocations: 56.41 MB / 0.489 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003858/0.1211, allocations: 2.078 MB / 0.491 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007713/0.1219, allocations: 315 kB / 0.4913 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.1221, allocations: 12 kB / 0.4913 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.1223, allocations: 71.12 kB / 0.4914 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.1224, allocations: 39.5 kB / 0.4914 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1227, allocations: 155.8 kB / 0.4915 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.1231, allocations: 400.5 kB / 0.4919 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004449/0.1236, allocations: 358.2 kB / 0.4923 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1237, allocations: 151.3 kB / 0.4924 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.1239, allocations: 190.9 kB / 0.4926 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.1239, allocations: 44 kB / 0.4926 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.317e-05/0.124, allocations: 48 kB / 0.4927 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.025e-05/0.1241, allocations: 107.6 kB / 0.4928 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.1243, allocations: 206.8 kB / 0.493 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.1247, allocations: 453.6 kB / 0.4934 GB, free: 5.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1247, allocations: 0 / 0.4934 GB, free: 5.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1248, allocations: 0 / 0.4934 GB, free: 5.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.1248, allocations: 0 / 0.4934 GB, free: 5.484 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.00114/0.1259, allocations: 0.7173 MB / 0.4941 GB, free: 4.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.126, allocations: 12.03 kB / 0.4941 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.1261, allocations: 60.55 kB / 0.4942 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.1266, allocations: 328.4 kB / 0.4945 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.1267, allocations: 41.69 kB / 0.4945 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.1268, allocations: 56.38 kB / 0.4946 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.1275, allocations: 491.7 kB / 0.4951 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1276, allocations: 4.125 kB / 0.4951 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.1276, allocations: 27.94 kB / 0.4951 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.1276, allocations: 16 kB / 0.4951 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.1281, allocations: 273.1 kB / 0.4954 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.1299, allocations: 1.631 MB / 0.497 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.1303, allocations: 194.6 kB / 0.4971 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1304, allocations: 76.84 kB / 0.4972 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1304, allocations: 4 kB / 0.4972 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1305, allocations: 38.56 kB / 0.4973 GB, free: 1.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.1305, allocations: 0 / 0.4973 GB, free: 1.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004242/0.1309, allocations: 252.3 kB / 0.4975 GB, free: 1.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.131, allocations: 55.41 kB / 0.4976 GB, free: 1.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1312, allocations: 258.7 kB / 0.4978 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1312, allocations: 25.7 kB / 0.4978 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1314, allocations: 268.2 kB / 0.4981 GB, free: 464 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.1314, allocations: 71.33 kB / 0.4982 GB, free: 392 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.1315, allocations: 49.7 kB / 0.4982 GB, free: 336 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1317, allocations: 346.7 kB / 0.4985 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1318, allocations: 67.92 kB / 0.4986 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.1319, allocations: 110 kB / 0.4987 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.1322, allocations: 193.4 kB / 0.4989 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1322, allocations: 0 / 0.4989 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003402/0.1326, allocations: 249.3 kB / 0.4991 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1326, allocations: 15.97 kB / 0.4991 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1326, allocations: 0 / 0.4991 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1326, allocations: 4 kB / 0.4991 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.1328, allocations: 39.92 kB / 0.4992 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.1328, allocations: 7.984 kB / 0.4992 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.66e-05/0.1329, allocations: 31.72 kB / 0.4992 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1329, allocations: 8 kB / 0.4992 GB, free: 15.22 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.0001489/0.1331, allocations: 153.8 kB / 0.4994 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.1332, allocations: 27.81 kB / 0.4994 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.1332, allocations: 30.19 kB / 0.4994 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1332, allocations: 7.984 kB / 0.4994 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1333, allocations: 0 / 0.4994 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1333, allocations: 3.938 kB / 0.4994 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.134, allocations: 0.6701 MB / 0.5001 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.134, allocations: 0 / 0.5001 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1342, allocations: 27.98 kB / 0.5001 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1342, allocations: 0 / 0.5001 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.1342, allocations: 8 kB / 0.5001 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1342, allocations: 7.938 kB / 0.5001 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1342, allocations: 4 kB / 0.5001 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.1347, allocations: 377.1 kB / 0.5005 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.1348, allocations: 104.9 kB / 0.5006 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.1348, allocations: 8 kB / 0.5006 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.1349, allocations: 3.938 kB / 0.5006 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.1349, allocations: 11.98 kB / 0.5006 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1349, allocations: 4 kB / 0.5006 GB, free: 13.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.1351, allocations: 194 kB / 0.5008 GB, free: 13.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1351, allocations: 0 / 0.5008 GB, free: 13.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.1354, allocations: 79.62 kB / 0.5009 GB, free: 13.42 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.000105/0.1355, allocations: 99.19 kB / 0.501 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.1358, allocations: 163.9 kB / 0.5011 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1358, allocations: 0 / 0.5011 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.136, allocations: 80.3 kB / 0.5012 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1363, allocations: 41.91 kB / 0.5013 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.1375, allocations: 0.6644 MB / 0.5019 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.138, allocations: 0.8103 MB / 0.5027 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.272e-05/0.1381, allocations: 29.86 kB / 0.5027 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.1381, allocations: 23.44 kB / 0.5027 GB, free: 11.46 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1382, allocations: 0 / 0.5027 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Templates: time 0.005328/0.1435, allocations: 1.768 MB / 0.5045 GB, free: 9.699 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)