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.001612/0.001612, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00248/0.00248, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2979/0.2979, allocations: 28.8 MB / 319.2 MB, free: 5.684 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 55.91 kB / 386.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2766, allocations: 56.41 MB / 443 MB, free: 39.58 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002584/0.2792, allocations: 2.09 MB / 445.1 MB, free: 38.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005296/0.2798, allocations: 309.5 kB / 445.4 MB, free: 38.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.2799, allocations: 11.47 kB / 445.4 MB, free: 38.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.2801, allocations: 63.73 kB / 445.5 MB, free: 38.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.2802, allocations: 34.12 kB / 445.5 MB, free: 38.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.2805, allocations: 163.7 kB / 445.7 MB, free: 38.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.2808, allocations: 399.4 kB / 446.1 MB, free: 38.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.2812, allocations: 352.9 kB / 446.4 MB, free: 38.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.2813, allocations: 160.3 kB / 446.6 MB, free: 38.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.2814, allocations: 190.1 kB / 446.8 MB, free: 37.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.2815, allocations: 42.06 kB / 446.8 MB, free: 37.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.943e-05/0.2815, allocations: 46.09 kB / 446.8 MB, free: 37.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.2816, allocations: 99.78 kB / 446.9 MB, free: 37.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2817, allocations: 210.9 kB / 447.2 MB, free: 37.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.282, allocations: 417.8 kB / 447.6 MB, free: 37.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.282, allocations: 0 / 447.6 MB, free: 37.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.282, allocations: 0 / 447.6 MB, free: 37.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.282, allocations: 0 / 447.6 MB, free: 37.77 MB / 366.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.0006662/0.2827, allocations: 0.7056 MB / 448.3 MB, free: 37.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.2827, allocations: 14.44 kB / 448.3 MB, free: 37.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.2828, allocations: 54.34 kB / 448.3 MB, free: 37.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.283, allocations: 317.7 kB / 448.6 MB, free: 37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.283, allocations: 44.09 kB / 448.7 MB, free: 37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.2831, allocations: 52.09 kB / 448.7 MB, free: 37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.2836, allocations: 494.1 kB / 449.2 MB, free: 36.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2836, allocations: 192 / 449.2 MB, free: 36.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.2837, allocations: 25.84 kB / 449.2 MB, free: 36.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2837, allocations: 13.94 kB / 449.3 MB, free: 36.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.284, allocations: 280.4 kB / 449.5 MB, free: 36.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.2854, allocations: 1.639 MB / 451.2 MB, free: 35.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.2857, allocations: 192.3 kB / 451.4 MB, free: 35.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.2858, allocations: 88.12 kB / 451.4 MB, free: 35.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.2859, allocations: 0 / 451.4 MB, free: 35.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.2859, allocations: 33.47 kB / 451.5 MB, free: 35.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 9.82e-07/0.2859, allocations: 4 kB / 451.5 MB, free: 35.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003519/0.2862, allocations: 255.4 kB / 451.7 MB, free: 35.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.2863, allocations: 58.19 kB / 451.8 MB, free: 35.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.2864, allocations: 257.6 kB / 452 MB, free: 34.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2865, allocations: 29.7 kB / 452.1 MB, free: 34.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.2866, allocations: 255.7 kB / 452.3 MB, free: 34.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.2866, allocations: 78.3 kB / 452.4 MB, free: 34.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.2867, allocations: 49.52 kB / 452.4 MB, free: 34.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.2867, allocations: 346 kB / 452.8 MB, free: 34.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.2868, allocations: 59.16 kB / 452.8 MB, free: 34.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.72e-05/0.2869, allocations: 116.9 kB / 453 MB, free: 34.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.2871, allocations: 199.1 kB / 453.1 MB, free: 34.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2871, allocations: 2.938 kB / 453.1 MB, free: 34.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002689/0.2874, allocations: 240 kB / 453.4 MB, free: 33.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2874, allocations: 13.19 kB / 453.4 MB, free: 33.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2874, allocations: 0 / 453.4 MB, free: 33.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2874, allocations: 2.906 kB / 453.4 MB, free: 33.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.2876, allocations: 45.36 kB / 453.4 MB, free: 33.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2876, allocations: 2.781 kB / 453.4 MB, free: 33.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.464e-05/0.2877, allocations: 31.53 kB / 453.5 MB, free: 33.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.2877, allocations: 5.75 kB / 453.5 MB, free: 33.91 MB / 366.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.0001058/0.2879, allocations: 160.6 kB / 453.6 MB, free: 33.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.2879, allocations: 23.38 kB / 453.7 MB, free: 33.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.288, allocations: 34.73 kB / 453.7 MB, free: 33.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.288, allocations: 6.125 kB / 453.7 MB, free: 33.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.288, allocations: 0 / 453.7 MB, free: 33.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.288, allocations: 3.938 kB / 453.7 MB, free: 33.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.2885, allocations: 0.6667 MB / 454.4 MB, free: 33.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2885, allocations: 0 / 454.4 MB, free: 33.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.2887, allocations: 32.81 kB / 454.4 MB, free: 33.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2887, allocations: 0 / 454.4 MB, free: 33.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2888, allocations: 6.969 kB / 454.4 MB, free: 33.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2888, allocations: 3.938 kB / 454.4 MB, free: 33.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2888, allocations: 4 kB / 454.4 MB, free: 33.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.2891, allocations: 367.4 kB / 454.8 MB, free: 33.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.2891, allocations: 104.5 kB / 454.9 MB, free: 32.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.2892, allocations: 4 kB / 454.9 MB, free: 32.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2893, allocations: 10.78 kB / 454.9 MB, free: 32.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.2893, allocations: 8.922 kB / 454.9 MB, free: 32.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.2893, allocations: 6.875 kB / 454.9 MB, free: 32.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.2895, allocations: 193.3 kB / 455.1 MB, free: 32.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.2895, allocations: 0 / 455.1 MB, free: 32.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.2898, allocations: 90.59 kB / 455.2 MB, free: 32.74 MB / 366.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 6.783e-05/0.2898, allocations: 98.67 kB / 455.3 MB, free: 32.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.2901, allocations: 175.9 kB / 455.5 MB, free: 32.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2901, allocations: 0 / 455.5 MB, free: 32.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.2902, allocations: 87.59 kB / 455.5 MB, free: 32.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.2906, allocations: 37.39 kB / 455.6 MB, free: 32.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.2914, allocations: 0.6409 MB / 456.2 MB, free: 32.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.2916, allocations: 0.8143 MB / 457 MB, free: 31.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.221e-05/0.2916, allocations: 20.83 kB / 457.1 MB, free: 31.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.2917, allocations: 19.62 kB / 457.1 MB, free: 31.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2917, allocations: 0 / 457.1 MB, free: 31.42 MB / 366.1 MB Notification: Performance of Templates: time 0.004102/0.2958, allocations: 1.741 MB / 458.8 MB, free: 31.23 MB / 366.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)