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.0007931/0.0007929, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001126/0.001126, allocations: 168.7 kB / 15.95 MB, free: 204 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.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3343/0.3343, allocations: 28.84 MB / 319.9 MB, free: 6.234 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 8 kB / 387.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3048, allocations: 57.48 MB / 445.4 MB, free: 32.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002766/0.3076, allocations: 1.908 MB / 447.3 MB, free: 31.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3089, allocations: 0.5927 MB / 447.9 MB, free: 30.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.3092, allocations: 3 kB / 447.9 MB, free: 30.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.3094, allocations: 35.36 kB / 447.9 MB, free: 30.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.3096, allocations: 17.53 kB / 447.9 MB, free: 30.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.3101, allocations: 88.98 kB / 448 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.3105, allocations: 238.5 kB / 448.2 MB, free: 30.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.3108, allocations: 139.9 kB / 448.4 MB, free: 30.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.311, allocations: 70.95 kB / 448.5 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3111, allocations: 86.73 kB / 448.5 MB, free: 30.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.3111, allocations: 5.656 kB / 448.5 MB, free: 30.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3113, allocations: 28.41 kB / 448.6 MB, free: 30.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.819e-05/0.3114, allocations: 50.06 kB / 448.6 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.3115, allocations: 76.11 kB / 448.7 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.3117, allocations: 209.3 kB / 448.9 MB, free: 30.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3118, allocations: 3.938 kB / 448.9 MB, free: 30.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3118, allocations: 3.938 kB / 448.9 MB, free: 30.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.3118, allocations: 0 / 448.9 MB, free: 30.48 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.001061/0.3129, allocations: 0.606 MB / 449.5 MB, free: 29.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3129, allocations: 8.719 kB / 449.5 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.313, allocations: 40.19 kB / 449.6 MB, free: 29.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.3134, allocations: 282.1 kB / 449.8 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.3134, allocations: 22.59 kB / 449.9 MB, free: 29.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.3135, allocations: 31.66 kB / 449.9 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.3141, allocations: 346.3 kB / 450.2 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3141, allocations: 0 / 450.2 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.3141, allocations: 14.67 kB / 450.2 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3142, allocations: 8.25 kB / 450.2 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.3146, allocations: 252.1 kB / 450.5 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.3159, allocations: 1.165 MB / 451.7 MB, free: 28.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.3163, allocations: 226.2 kB / 451.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.3165, allocations: 111.6 kB / 452 MB, free: 28.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.663e-05/0.3165, allocations: 16.39 kB / 452 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.3169, allocations: 162.4 kB / 452.2 MB, free: 28.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.893e-06/0.3169, allocations: 0 / 452.2 MB, free: 28.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006621/0.3176, allocations: 343 kB / 452.5 MB, free: 28.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.3176, allocations: 54.28 kB / 452.6 MB, free: 28.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.3179, allocations: 268.5 kB / 452.8 MB, free: 28.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3179, allocations: 32.33 kB / 452.8 MB, free: 28.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.318, allocations: 210.4 kB / 453.1 MB, free: 27.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.3181, allocations: 59.48 kB / 453.1 MB, free: 27.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.3181, allocations: 6.812 kB / 453.1 MB, free: 27.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.3182, allocations: 338.7 kB / 453.4 MB, free: 27.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.3184, allocations: 95.42 kB / 453.5 MB, free: 27.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.3185, allocations: 136 kB / 453.7 MB, free: 27.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.3188, allocations: 139 kB / 453.8 MB, free: 27.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3188, allocations: 2.031 kB / 453.8 MB, free: 27.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004924/0.3193, allocations: 330.3 kB / 454.1 MB, free: 27.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.3193, allocations: 38.31 kB / 454.2 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3193, allocations: 2.375 kB / 454.2 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3194, allocations: 6.406 kB / 454.2 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.3196, allocations: 41.97 kB / 454.2 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3196, allocations: 2.531 kB / 454.2 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.3197, allocations: 32.52 kB / 454.3 MB, free: 27.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.3198, allocations: 5.531 kB / 454.3 MB, free: 27.09 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.000151/0.3199, allocations: 173.2 kB / 454.4 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.32, allocations: 25.89 kB / 454.5 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.3205, allocations: 270.2 kB / 454.7 MB, free: 26.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3205, allocations: 0 / 454.7 MB, free: 26.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3205, allocations: 6.625 kB / 454.7 MB, free: 26.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3205, allocations: 3.328 kB / 454.7 MB, free: 26.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000743/0.3213, allocations: 0.6668 MB / 455.4 MB, free: 26.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3213, allocations: 0 / 455.4 MB, free: 26.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.3214, allocations: 37.66 kB / 455.4 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3214, allocations: 3.469 kB / 455.4 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3215, allocations: 6.625 kB / 455.4 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3215, allocations: 0 / 455.4 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3215, allocations: 6.562 kB / 455.4 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.3221, allocations: 471.8 kB / 455.9 MB, free: 26.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.3222, allocations: 104.5 kB / 456 MB, free: 26.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.3222, allocations: 4 kB / 456 MB, free: 26.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3223, allocations: 13.78 kB / 456 MB, free: 26.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.3224, allocations: 26.02 kB / 456.1 MB, free: 26.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.3224, allocations: 10.52 kB / 456.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.3226, allocations: 191.8 kB / 456.3 MB, free: 25.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3226, allocations: 0 / 456.3 MB, free: 25.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.323, allocations: 65.11 kB / 456.3 MB, free: 25.89 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.0001576/0.3231, allocations: 105.6 kB / 456.4 MB, free: 25.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004755/0.3236, allocations: 283.5 kB / 456.7 MB, free: 25.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3236, allocations: 0 / 456.7 MB, free: 25.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.3238, allocations: 108.3 kB / 456.8 MB, free: 25.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.3242, allocations: 35.19 kB / 456.8 MB, free: 25.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.3253, allocations: 0.6768 MB / 457.5 MB, free: 25.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.3256, allocations: 0.7907 MB / 458.3 MB, free: 24.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.704e-05/0.3256, allocations: 12.5 kB / 458.3 MB, free: 24.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.3257, allocations: 17.59 kB / 458.3 MB, free: 24.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3257, allocations: 4 kB / 458.3 MB, free: 24.47 MB / 350.1 MB Notification: Performance of Templates: time 0.005671/0.3314, allocations: 1.762 MB / 460.1 MB, free: 24.3 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: