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.001738/0.001738, allocations: 103 kB / 16.4 MB, free: 6.449 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.001821/0.001821, allocations: 192 kB / 17.34 MB, free: 5.703 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.43/1.43, 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.1906/0.1906, allocations: 28.78 MB / 320 MB, free: 1.922 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.89 kB / 445 MB, free: 2.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1166, allocations: 56.4 MB / 0.4896 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003597/0.1202, allocations: 2.104 MB / 0.4917 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006671/0.1209, allocations: 311 kB / 0.492 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.121, allocations: 11.94 kB / 0.492 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1212, allocations: 63.25 kB / 0.492 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.1214, allocations: 47.47 kB / 0.4921 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.1217, allocations: 155.8 kB / 0.4922 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.1221, allocations: 396.5 kB / 0.4926 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004414/0.1225, allocations: 278.3 kB / 0.4929 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1227, allocations: 151.3 kB / 0.493 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1229, allocations: 194.9 kB / 0.4932 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.681e-05/0.1229, allocations: 44 kB / 0.4932 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.123, allocations: 44 kB / 0.4933 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.1231, allocations: 107.6 kB / 0.4934 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.1233, allocations: 210.7 kB / 0.4936 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.1238, allocations: 453.7 kB / 0.494 GB, free: 5.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1238, allocations: 0 / 0.494 GB, free: 5.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1238, allocations: 0 / 0.494 GB, free: 5.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.1238, allocations: 0 / 0.494 GB, free: 5.59 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.001012/0.1248, allocations: 0.7173 MB / 0.4947 GB, free: 4.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1248, allocations: 12.03 kB / 0.4947 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.756e-05/0.1249, allocations: 60.56 kB / 0.4948 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.1254, allocations: 332.4 kB / 0.4951 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.1254, allocations: 41.69 kB / 0.4951 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.165e-05/0.1255, allocations: 52.38 kB / 0.4952 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.1262, allocations: 491.6 kB / 0.4957 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1262, allocations: 192 / 0.4957 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.1263, allocations: 27.94 kB / 0.4957 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1263, allocations: 12 kB / 0.4957 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/0.1268, allocations: 273.1 kB / 0.496 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.1288, allocations: 1.627 MB / 0.4976 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.1292, allocations: 190.6 kB / 0.4977 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1293, allocations: 88.83 kB / 0.4978 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.1293, allocations: 0 / 0.4978 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1293, allocations: 38.56 kB / 0.4979 GB, free: 1.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.1293, allocations: 0 / 0.4979 GB, free: 1.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004554/0.1298, allocations: 248.5 kB / 0.4981 GB, free: 1.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1298, allocations: 59.34 kB / 0.4982 GB, free: 1.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.1301, allocations: 258.7 kB / 0.4984 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1301, allocations: 25.7 kB / 0.4984 GB, free: 0.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.1303, allocations: 268.2 kB / 0.4987 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.1304, allocations: 71.38 kB / 0.4987 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.1305, allocations: 49.64 kB / 0.4988 GB, free: 452 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1306, allocations: 342.8 kB / 0.4991 GB, free: 100 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.1307, allocations: 67.98 kB / 0.4992 GB, free: 32 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.1309, allocations: 114 kB / 0.4993 GB, free: 15.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.1312, allocations: 192.3 kB / 0.4995 GB, free: 15.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1312, allocations: 0 / 0.4995 GB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003729/0.1316, allocations: 252.6 kB / 0.4997 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1316, allocations: 8 kB / 0.4997 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1316, allocations: 192 / 0.4997 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.1316, allocations: 8 kB / 0.4997 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.1318, allocations: 43.91 kB / 0.4998 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1318, allocations: 4 kB / 0.4998 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.1319, allocations: 31.72 kB / 0.4998 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.1319, allocations: 12 kB / 0.4998 GB, free: 15.34 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.0001639/0.1321, allocations: 145.8 kB / 0.5 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.1321, allocations: 27.81 kB / 0.5 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.506e-05/0.1322, allocations: 30.17 kB / 0.5 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.1322, allocations: 4 kB / 0.5 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1322, allocations: 4 kB / 0.5 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1322, allocations: 3.938 kB / 0.5 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.1331, allocations: 0.674 MB / 0.5007 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1331, allocations: 0 / 0.5007 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.1332, allocations: 27.98 kB / 0.5007 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1332, allocations: 4 kB / 0.5007 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1333, allocations: 4 kB / 0.5007 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1333, allocations: 3.938 kB / 0.5007 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1333, allocations: 0 / 0.5007 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.1338, allocations: 377.8 kB / 0.5011 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.1339, allocations: 100.9 kB / 0.5012 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1339, allocations: 8 kB / 0.5012 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.134, allocations: 3.938 kB / 0.5012 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.134, allocations: 12.03 kB / 0.5012 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.134, allocations: 4 kB / 0.5012 GB, free: 13.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.1342, allocations: 190 kB / 0.5014 GB, free: 13.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1342, allocations: 0 / 0.5014 GB, free: 13.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.1345, allocations: 83.62 kB / 0.5015 GB, free: 13.55 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 9.899e-05/0.1346, allocations: 99.19 kB / 0.5016 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.1349, allocations: 151.9 kB / 0.5017 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1349, allocations: 3.938 kB / 0.5017 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1351, allocations: 87.84 kB / 0.5018 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1354, allocations: 39.22 kB / 0.5018 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1365, allocations: 0.6556 MB / 0.5025 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.137, allocations: 0.8141 MB / 0.5033 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.238e-05/0.1371, allocations: 21.94 kB / 0.5033 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.1372, allocations: 19.44 kB / 0.5033 GB, free: 11.61 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1372, allocations: 4 kB / 0.5033 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Templates: time 0.005747/0.1429, allocations: 1.769 MB / 0.505 GB, free: 9.836 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 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1)