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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 221.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 104 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo): time 0.1751/0.1751, allocations: 28.77 MB / 345.3 MB, free: 12.19 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 51.92 kB / 409.7 MB, free: 47.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08487/0.08593, allocations: 53.61 MB / 463.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003409/0.08937, allocations: 2.138 MB / 465.4 MB, free: 8.148 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005436/0.08994, allocations: 299.1 kB / 465.7 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.09012, allocations: 4 kB / 465.7 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.09032, allocations: 47.56 kB / 465.8 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.09045, allocations: 19.8 kB / 465.8 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.09073, allocations: 139.9 kB / 465.9 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.09111, allocations: 376.6 kB / 466.3 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004571/0.09158, allocations: 342.5 kB / 466.6 MB, free: 6.934 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.09169, allocations: 135.3 kB / 466.8 MB, free: 6.801 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.09185, allocations: 175 kB / 466.9 MB, free: 6.629 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.0919, allocations: 28 kB / 467 MB, free: 6.602 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.905e-05/0.09194, allocations: 28 kB / 467 MB, free: 6.574 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.09201, allocations: 95.53 kB / 467.1 MB, free: 6.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.09215, allocations: 194.7 kB / 467.3 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.09247, allocations: 378.6 kB / 467.6 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.09248, allocations: 0 / 467.6 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09249, allocations: 0 / 467.6 MB, free: 5.918 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.0925, allocations: 4 kB / 467.7 MB, free: 5.914 MB / 314.7 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.0008389/0.09334, allocations: 0.714 MB / 468.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.09338, allocations: 12.03 kB / 468.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.09347, allocations: 52.28 kB / 468.4 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.0938, allocations: 324.3 kB / 468.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.09384, allocations: 41.69 kB / 468.8 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.09391, allocations: 60.28 kB / 468.8 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006628/0.09458, allocations: 487.6 kB / 469.3 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.09461, allocations: 4.125 kB / 469.3 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.09465, allocations: 39.88 kB / 469.4 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.09467, allocations: 12 kB / 469.4 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.0951, allocations: 269.1 kB / 469.6 MB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.09691, allocations: 1.635 MB / 471.3 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.09728, allocations: 206.6 kB / 471.5 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.09741, allocations: 80.84 kB / 471.6 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.09743, allocations: 0 / 471.6 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.09746, allocations: 34.55 kB / 471.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.09747, allocations: 4 kB / 471.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004115/0.09789, allocations: 245.6 kB / 471.8 MB, free: 1.516 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.09794, allocations: 59.41 kB / 471.9 MB, free: 1.445 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.09818, allocations: 258.7 kB / 472.1 MB, free: 1.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.09821, allocations: 29.7 kB / 472.2 MB, free: 1.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.09836, allocations: 259.7 kB / 472.4 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.09842, allocations: 74.84 kB / 472.5 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/0.09853, allocations: 45.72 kB / 472.5 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.09867, allocations: 346.7 kB / 472.9 MB, free: 424 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.918e-05/0.09877, allocations: 59.98 kB / 472.9 MB, free: 364 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.09891, allocations: 122 kB / 473.1 MB, free: 220 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.09916, allocations: 193.9 kB / 473.2 MB, free: 4 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.09917, allocations: 0 / 473.2 MB, free: 4 kB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003512/0.09953, allocations: 245 kB / 473.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.09956, allocations: 8 kB / 473.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.09957, allocations: 0 / 473.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.09959, allocations: 4 kB / 473.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.09979, allocations: 44.11 kB / 473.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.09981, allocations: 4 kB / 473.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.09992, allocations: 31.62 kB / 473.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.09995, allocations: 4 kB / 473.6 MB, free: 15.66 MB / 330.7 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.0001778/0.1001, allocations: 158.6 kB / 473.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.1002, allocations: 27.62 kB / 473.8 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.496e-05/0.1003, allocations: 30.17 kB / 473.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1003, allocations: 4 kB / 473.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.1003, allocations: 0 / 473.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1003, allocations: 11.88 kB / 473.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008082/0.1011, allocations: 0.6661 MB / 474.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1011, allocations: 0 / 474.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.1013, allocations: 31.98 kB / 474.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1014, allocations: 0 / 474.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1014, allocations: 4 kB / 474.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1014, allocations: 7.875 kB / 474.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1014, allocations: 0 / 474.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.1043, allocations: 2.061 MB / 476.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/0.1043, allocations: 100.8 kB / 476.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.1044, allocations: 4 kB / 476.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.1045, allocations: 3.938 kB / 476.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1045, allocations: 16.03 kB / 476.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1045, allocations: 8 kB / 476.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.1047, allocations: 186 kB / 476.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1047, allocations: 0 / 476.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.1051, allocations: 99.44 kB / 477 MB, free: 12.04 MB / 330.7 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.579e-05/0.1052, allocations: 91.25 kB / 477.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1055, allocations: 175.8 kB / 477.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1055, allocations: 384 / 477.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1056, allocations: 91.86 kB / 477.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.106, allocations: 34.28 kB / 477.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.1072, allocations: 1.01 MB / 478.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1076, allocations: 0.8145 MB / 479.2 MB, free: 9.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.867e-05/0.1077, allocations: 25.94 kB / 479.2 MB, free: 9.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.1078, allocations: 27.38 kB / 479.2 MB, free: 9.699 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1078, allocations: 0 / 479.2 MB, free: 9.699 MB / 330.7 MB Notification: Performance of Templates: time 0.005228/0.113, allocations: 2.432 MB / 481.7 MB, free: 7.262 MB / 330.7 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)