Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001682/0.001682, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3131/0.3131, allocations: 28.86 MB / 319.8 MB, free: 6.285 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 11.98 kB / 387.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2744, allocations: 57.48 MB / 445.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002029/0.2765, allocations: 1.912 MB / 447.2 MB, free: 31.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008761/0.2773, allocations: 0.5944 MB / 447.8 MB, free: 31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.2775, allocations: 2.625 kB / 447.8 MB, free: 31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.902e-05/0.2776, allocations: 18.52 kB / 447.8 MB, free: 30.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.2777, allocations: 31 kB / 447.8 MB, free: 30.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.278, allocations: 89.72 kB / 447.9 MB, free: 30.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.2783, allocations: 152.4 kB / 448.1 MB, free: 30.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.2785, allocations: 140.9 kB / 448.2 MB, free: 30.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.624e-05/0.2786, allocations: 75.45 kB / 448.3 MB, free: 30.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.632e-05/0.2787, allocations: 89.66 kB / 448.4 MB, free: 30.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.2787, allocations: 8.906 kB / 448.4 MB, free: 30.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.2788, allocations: 25.23 kB / 448.4 MB, free: 30.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.2789, allocations: 62.48 kB / 448.5 MB, free: 30.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.279, allocations: 67.55 kB / 448.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.2791, allocations: 210.1 kB / 448.7 MB, free: 30.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.2791, allocations: 0 / 448.7 MB, free: 30.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2792, allocations: 0 / 448.7 MB, free: 30.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2792, allocations: 0 / 448.7 MB, free: 30.55 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0007554/0.2799, allocations: 0.6006 MB / 449.3 MB, free: 30.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.28, allocations: 8.562 kB / 449.3 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.28, allocations: 43.34 kB / 449.4 MB, free: 30.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.2803, allocations: 277 kB / 449.6 MB, free: 29.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2803, allocations: 27.62 kB / 449.7 MB, free: 29.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.2804, allocations: 30.97 kB / 449.7 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.2808, allocations: 335.2 kB / 450 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2809, allocations: 0 / 450 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.2809, allocations: 21.67 kB / 450.1 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.2809, allocations: 5.688 kB / 450.1 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.2813, allocations: 249.6 kB / 450.3 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2825, allocations: 1.168 MB / 451.5 MB, free: 28.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.2829, allocations: 229.8 kB / 451.7 MB, free: 28.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.283, allocations: 22.91 kB / 451.7 MB, free: 28.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003097/0.2833, allocations: 151.9 kB / 451.9 MB, free: 28.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.389e-05/0.2833, allocations: 0 / 451.9 MB, free: 28.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006221/0.2839, allocations: 344.7 kB / 452.2 MB, free: 28.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.284, allocations: 58.41 kB / 452.3 MB, free: 28.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.2842, allocations: 262.6 kB / 452.5 MB, free: 28.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2842, allocations: 29.7 kB / 452.5 MB, free: 28.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.2843, allocations: 218.6 kB / 452.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.2844, allocations: 61.75 kB / 452.8 MB, free: 27.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.2844, allocations: 3.938 kB / 452.8 MB, free: 27.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.2844, allocations: 339.5 kB / 453.2 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.2846, allocations: 97.14 kB / 453.3 MB, free: 27.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.2848, allocations: 142.1 kB / 453.4 MB, free: 27.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.285, allocations: 126.1 kB / 453.5 MB, free: 27.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.285, allocations: 4 kB / 453.5 MB, free: 27.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000455/0.2855, allocations: 335.7 kB / 453.8 MB, free: 27.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.2855, allocations: 35.77 kB / 453.9 MB, free: 27.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2855, allocations: 2.031 kB / 453.9 MB, free: 27.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2855, allocations: 6.156 kB / 453.9 MB, free: 27.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.2857, allocations: 47.16 kB / 453.9 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2858, allocations: 2.812 kB / 453.9 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.2859, allocations: 29.72 kB / 454 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.2859, allocations: 12.41 kB / 454 MB, free: 27.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.Hunting.T_start,Hunting.T_start,$PRE.Hunting.count,Hunting.count,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.2861, allocations: 156.7 kB / 454.1 MB, free: 27.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.2861, allocations: 32.25 kB / 454.2 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.2865, allocations: 268.7 kB / 454.4 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2865, allocations: 2.594 kB / 454.4 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2866, allocations: 0 / 454.4 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2866, allocations: 3.422 kB / 454.4 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.2872, allocations: 0.6728 MB / 455.1 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2872, allocations: 0 / 455.1 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.2875, allocations: 33 kB / 455.1 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2875, allocations: 4 kB / 455.1 MB, free: 26.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.2875, allocations: 6.625 kB / 455.1 MB, free: 26.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2875, allocations: 0 / 455.1 MB, free: 26.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2876, allocations: 0 / 455.1 MB, free: 26.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.2882, allocations: 481.9 kB / 455.6 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.2882, allocations: 104.5 kB / 455.7 MB, free: 26.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.2883, allocations: 4 kB / 455.7 MB, free: 26.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.2884, allocations: 11.2 kB / 455.7 MB, free: 26.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.2885, allocations: 24.62 kB / 455.8 MB, free: 26.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.2885, allocations: 2.625 kB / 455.8 MB, free: 26.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.2887, allocations: 197.6 kB / 456 MB, free: 26.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2887, allocations: 2.625 kB / 456 MB, free: 26.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.289, allocations: 61.72 kB / 456 MB, free: 26 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hare.Integrator1.y,Lynx.Integrator1.y) * Number of discrete variables: 3 ($whenCondition1,Hunting.T_start,Hunting.count) * Number of discrete states: 1 (Hunting.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001322/0.2891, allocations: 110.3 kB / 456.1 MB, free: 25.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004496/0.2896, allocations: 285.1 kB / 456.4 MB, free: 25.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2896, allocations: 0 / 456.4 MB, free: 25.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.2898, allocations: 107.3 kB / 456.5 MB, free: 25.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.2901, allocations: 29.05 kB / 456.5 MB, free: 25.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009297/0.291, allocations: 0.6816 MB / 457.2 MB, free: 25.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.2912, allocations: 0.7952 MB / 458 MB, free: 24.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.394e-05/0.2913, allocations: 16.45 kB / 458 MB, free: 24.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.2914, allocations: 18.28 kB / 458 MB, free: 24.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2914, allocations: 0 / 458 MB, free: 24.59 MB / 350.1 MB Notification: Performance of Templates: time 0.004641/0.296, allocations: 1.756 MB / 459.8 MB, free: 24.42 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.makefile Environment - environmentSimulation: (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) Environment - environmentSimulation: