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.001497/0.001497, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001641/0.001641, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1926/0.1926, allocations: 28.78 MB / 319.9 MB, free: 1.918 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 65.34 kB / 388 MB, free: 40.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1048, allocations: 56.43 MB / 444.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003772/0.1086, allocations: 2.087 MB / 446.5 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.1095, allocations: 323.1 kB / 446.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003735/0.1099, allocations: 4 kB / 446.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.1102, allocations: 67.25 kB / 446.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1104, allocations: 31.5 kB / 447 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1108, allocations: 155.8 kB / 447.1 MB, free: 400 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00052/0.1113, allocations: 400.5 kB / 447.5 MB, free: 16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005564/0.1119, allocations: 358.3 kB / 447.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.112, allocations: 155.3 kB / 448 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.1123, allocations: 194.9 kB / 448.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.49e-05/0.1123, allocations: 48 kB / 448.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.388e-05/0.1124, allocations: 44 kB / 448.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1125, allocations: 107.6 kB / 448.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.1127, allocations: 202.8 kB / 448.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.1132, allocations: 442.1 kB / 449 MB, free: 14.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.1132, allocations: 0 / 449 MB, free: 14.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1132, allocations: 3.938 kB / 449 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.1132, allocations: 0 / 449 MB, free: 14.45 MB / 334.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.0009741/0.1142, allocations: 0.709 MB / 449.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1143, allocations: 8.031 kB / 449.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1144, allocations: 56.28 kB / 449.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.1149, allocations: 328.3 kB / 450.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.115, allocations: 49.69 kB / 450.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.115, allocations: 52.28 kB / 450.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006824/0.1157, allocations: 495.6 kB / 450.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.1158, allocations: 4.172 kB / 450.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/0.1158, allocations: 23.94 kB / 450.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.1158, allocations: 16 kB / 450.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.1164, allocations: 281 kB / 451 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.1182, allocations: 1.619 MB / 452.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.1186, allocations: 194.5 kB / 452.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1187, allocations: 80.84 kB / 452.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1188, allocations: 4 kB / 452.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1188, allocations: 38.56 kB / 452.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.1188, allocations: 0 / 452.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.000477/0.1193, allocations: 245.7 kB / 453.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1194, allocations: 59.34 kB / 453.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.1196, allocations: 258.7 kB / 453.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1197, allocations: 29.7 kB / 453.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1198, allocations: 255.7 kB / 453.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.1199, allocations: 78.84 kB / 453.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.12, allocations: 49.7 kB / 453.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1201, allocations: 342.8 kB / 454.2 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1202, allocations: 63.97 kB / 454.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.1204, allocations: 114 kB / 454.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.1207, allocations: 189.9 kB / 454.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1207, allocations: 4 kB / 454.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003836/0.1211, allocations: 247.5 kB / 454.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1211, allocations: 4 kB / 454.8 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1211, allocations: 4 kB / 454.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1211, allocations: 4 kB / 454.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.1213, allocations: 47.86 kB / 454.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1213, allocations: 4 kB / 454.9 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.62e-05/0.1214, allocations: 19.69 kB / 454.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1215, allocations: 12 kB / 454.9 MB, free: 8.215 MB / 334.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.0001542/0.1216, allocations: 153.9 kB / 455.1 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.1217, allocations: 31.61 kB / 455.1 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.453e-05/0.1218, allocations: 34.19 kB / 455.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1218, allocations: 0 / 455.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1218, allocations: 11.98 kB / 455.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1218, allocations: 3.938 kB / 455.2 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007525/0.1226, allocations: 0.6613 MB / 455.8 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1226, allocations: 7.984 kB / 455.8 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.1228, allocations: 27.98 kB / 455.9 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.1228, allocations: 0 / 455.9 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.1228, allocations: 12 kB / 455.9 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.1228, allocations: 3.938 kB / 455.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1228, allocations: 3.938 kB / 455.9 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.1233, allocations: 363.1 kB / 456.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.1234, allocations: 104.8 kB / 456.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.1234, allocations: 4 kB / 456.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1235, allocations: 11.94 kB / 456.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.1235, allocations: 11.98 kB / 456.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1236, allocations: 4 kB / 456.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.1237, allocations: 190 kB / 456.5 MB, free: 6.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1237, allocations: 0 / 456.5 MB, free: 6.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.1241, allocations: 79.44 kB / 456.6 MB, free: 6.422 MB / 334.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.166e-05/0.1242, allocations: 99.19 kB / 456.7 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.1245, allocations: 160.3 kB / 456.9 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1245, allocations: 4 kB / 456.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.1246, allocations: 87.86 kB / 457 MB, free: 6.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.125, allocations: 35.53 kB / 457 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1261, allocations: 0.6447 MB / 457.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1264, allocations: 0.8104 MB / 458.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.535e-05/0.1265, allocations: 21.94 kB / 458.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.1266, allocations: 19.44 kB / 458.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of SimCode: time 2.424e-06/0.1266, allocations: 0 / 458.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of Templates: time 0.005002/0.1316, allocations: 1.734 MB / 460.2 MB, free: 2.766 MB / 334.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 gbode -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1)