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.001132/0.001132, allocations: 103.4 kB / 15.98 MB, free: 5.891 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.001078/0.001078, allocations: 189.5 kB / 16.91 MB, free: 5.746 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.301/1.301, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3147/0.3147, allocations: 28.8 MB / 319.5 MB, free: 5.852 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 386.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3052, allocations: 56.4 MB / 443.2 MB, free: 39.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002851/0.3081, allocations: 2.133 MB / 445.3 MB, free: 38.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005621/0.3087, allocations: 291.8 kB / 445.6 MB, free: 38.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.3089, allocations: 9.75 kB / 445.6 MB, free: 38.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.3091, allocations: 45.8 kB / 445.7 MB, free: 38.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.3092, allocations: 7.875 kB / 445.7 MB, free: 38.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.3095, allocations: 135.2 kB / 445.8 MB, free: 38.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.3098, allocations: 409.1 kB / 446.2 MB, free: 38.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.3102, allocations: 348 kB / 446.5 MB, free: 38.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.199e-05/0.3103, allocations: 159.1 kB / 446.7 MB, free: 38.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3105, allocations: 196 kB / 446.9 MB, free: 38.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.3105, allocations: 41.97 kB / 446.9 MB, free: 38.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.244e-05/0.3106, allocations: 45.12 kB / 447 MB, free: 38.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.3106, allocations: 104.6 kB / 447.1 MB, free: 38.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.3108, allocations: 208.1 kB / 447.3 MB, free: 37.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.311, allocations: 296.6 kB / 447.6 MB, free: 37.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.311, allocations: 0 / 447.6 MB, free: 37.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.311, allocations: 0 / 447.6 MB, free: 37.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.311, allocations: 0 / 447.6 MB, free: 37.91 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.0007299/0.3118, allocations: 0.7157 MB / 448.3 MB, free: 37.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3118, allocations: 8.406 kB / 448.3 MB, free: 37.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.3119, allocations: 53.56 kB / 448.3 MB, free: 37.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.3122, allocations: 326 kB / 448.7 MB, free: 37.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.3122, allocations: 37.97 kB / 448.7 MB, free: 37.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.3123, allocations: 59.84 kB / 448.7 MB, free: 37.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.3129, allocations: 491.1 kB / 449.2 MB, free: 37.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3129, allocations: 192 / 449.2 MB, free: 37.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.3129, allocations: 29.16 kB / 449.3 MB, free: 37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.313, allocations: 11 kB / 449.3 MB, free: 37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.3133, allocations: 276.5 kB / 449.5 MB, free: 36.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.3147, allocations: 1.646 MB / 451.2 MB, free: 35.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.3151, allocations: 197.6 kB / 451.4 MB, free: 35.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.3152, allocations: 83.88 kB / 451.5 MB, free: 35.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3152, allocations: 2.594 kB / 451.5 MB, free: 35.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.3152, allocations: 30.56 kB / 451.5 MB, free: 35.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.3152, allocations: 0 / 451.5 MB, free: 35.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.000362/0.3156, allocations: 254.6 kB / 451.7 MB, free: 35.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3156, allocations: 54.25 kB / 451.8 MB, free: 35.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3158, allocations: 259.3 kB / 452 MB, free: 35.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.3158, allocations: 32.48 kB / 452.1 MB, free: 35.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.3159, allocations: 257.7 kB / 452.3 MB, free: 34.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.316, allocations: 69.62 kB / 452.4 MB, free: 34.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.316, allocations: 48.92 kB / 452.4 MB, free: 34.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.3161, allocations: 342 kB / 452.8 MB, free: 34.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.394e-05/0.3162, allocations: 61.42 kB / 452.8 MB, free: 34.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3163, allocations: 128.2 kB / 453 MB, free: 34.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.3165, allocations: 195.7 kB / 453.2 MB, free: 34.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3165, allocations: 6.844 kB / 453.2 MB, free: 34.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002675/0.3168, allocations: 246.6 kB / 453.4 MB, free: 34.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3168, allocations: 7.875 kB / 453.4 MB, free: 34.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3168, allocations: 3.188 kB / 453.4 MB, free: 34.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3168, allocations: 2.875 kB / 453.4 MB, free: 34.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.317, allocations: 45.2 kB / 453.5 MB, free: 34.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.317, allocations: 3.984 kB / 453.5 MB, free: 34.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.3171, allocations: 36.25 kB / 453.5 MB, free: 34.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.3171, allocations: 9.312 kB / 453.5 MB, free: 34.13 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.0001157/0.3172, allocations: 147.6 kB / 453.7 MB, free: 33.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.3173, allocations: 23 kB / 453.7 MB, free: 33.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.3173, allocations: 34 kB / 453.7 MB, free: 33.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3174, allocations: 3.938 kB / 453.7 MB, free: 33.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3174, allocations: 2.844 kB / 453.7 MB, free: 33.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3174, allocations: 7.406 kB / 453.7 MB, free: 33.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.3179, allocations: 0.6739 MB / 454.4 MB, free: 33.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.318, allocations: 0 / 454.4 MB, free: 33.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.3181, allocations: 31.27 kB / 454.4 MB, free: 33.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3181, allocations: 2.781 kB / 454.4 MB, free: 33.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3182, allocations: 7.938 kB / 454.4 MB, free: 33.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3182, allocations: 3.938 kB / 454.4 MB, free: 33.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3182, allocations: 2.875 kB / 454.4 MB, free: 33.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.3185, allocations: 368.1 kB / 454.8 MB, free: 33.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.3186, allocations: 102.4 kB / 454.9 MB, free: 33.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.3186, allocations: 6.781 kB / 454.9 MB, free: 33.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.3187, allocations: 7.266 kB / 454.9 MB, free: 33.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.3187, allocations: 12.95 kB / 454.9 MB, free: 33.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3188, allocations: 5.406 kB / 454.9 MB, free: 33.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.3189, allocations: 183.5 kB / 455.1 MB, free: 33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3189, allocations: 0 / 455.1 MB, free: 33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.3192, allocations: 79.66 kB / 455.2 MB, free: 32.96 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 7.555e-05/0.3193, allocations: 105.9 kB / 455.3 MB, free: 32.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.3195, allocations: 176.1 kB / 455.5 MB, free: 32.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3196, allocations: 0 / 455.5 MB, free: 32.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.3196, allocations: 77.41 kB / 455.5 MB, free: 32.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.3201, allocations: 40.56 kB / 455.6 MB, free: 32.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009335/0.321, allocations: 0.8613 MB / 456.4 MB, free: 32.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.3212, allocations: 0.821 MB / 457.3 MB, free: 31.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.628e-05/0.3213, allocations: 20.75 kB / 457.3 MB, free: 31.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3213, allocations: 0 / 457.3 MB, free: 31.42 MB / 366.1 MB Notification: Performance of Templates: time 0.004565/0.3259, allocations: 3.402 MB / 460.7 MB, free: 31.02 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)