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.000783/0.0007829, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005871/0.005871, allocations: 170.9 kB / 16.27 MB, free: 6.328 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3195/0.3195, allocations: 28.83 MB / 320.3 MB, free: 6.207 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 8 kB / 388.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3494, allocations: 57.48 MB / 446 MB, free: 32.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.001962/0.3514, allocations: 1.99 MB / 448 MB, free: 31.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3524, allocations: 0.6174 MB / 448.6 MB, free: 31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.3525, allocations: 6.812 kB / 448.6 MB, free: 31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.3527, allocations: 28.36 kB / 448.6 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.3528, allocations: 25.19 kB / 448.6 MB, free: 30.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.3531, allocations: 108.7 kB / 448.7 MB, free: 30.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.3533, allocations: 243.8 kB / 449 MB, free: 30.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.3536, allocations: 179.8 kB / 449.2 MB, free: 30.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.3536, allocations: 69.23 kB / 449.2 MB, free: 30.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.3537, allocations: 91.12 kB / 449.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.3538, allocations: 5.719 kB / 449.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.3538, allocations: 27.69 kB / 449.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.3539, allocations: 54.86 kB / 449.4 MB, free: 30.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.861e-05/0.354, allocations: 142.6 kB / 449.5 MB, free: 30.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.3543, allocations: 282.8 kB / 449.8 MB, free: 30.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3543, allocations: 0 / 449.8 MB, free: 30.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3543, allocations: 6.844 kB / 449.8 MB, free: 30.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3543, allocations: 0 / 449.8 MB, free: 30.35 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.0007641/0.3551, allocations: 0.5954 MB / 450.4 MB, free: 29.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3551, allocations: 8.875 kB / 450.4 MB, free: 29.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.3552, allocations: 41.12 kB / 450.5 MB, free: 29.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.3554, allocations: 293.7 kB / 450.8 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.3555, allocations: 24.34 kB / 450.8 MB, free: 29.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.3555, allocations: 30.44 kB / 450.8 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.356, allocations: 342 kB / 451.1 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.356, allocations: 7.938 kB / 451.1 MB, free: 29.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3561, allocations: 18.25 kB / 451.2 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.3561, allocations: 7.75 kB / 451.2 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.3565, allocations: 244.1 kB / 451.4 MB, free: 29.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.3576, allocations: 1.162 MB / 452.6 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.358, allocations: 233 kB / 452.8 MB, free: 28.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.3582, allocations: 103.9 kB / 452.9 MB, free: 28.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.3582, allocations: 19.73 kB / 452.9 MB, free: 28.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.3585, allocations: 168.2 kB / 453.1 MB, free: 28.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 2.334e-06/0.3586, allocations: 3.984 kB / 453.1 MB, free: 28.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006233/0.3592, allocations: 343.7 kB / 453.4 MB, free: 28.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.3592, allocations: 54.28 kB / 453.5 MB, free: 28.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.3594, allocations: 269.2 kB / 453.7 MB, free: 27.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3595, allocations: 29.7 kB / 453.8 MB, free: 27.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.3595, allocations: 225 kB / 454 MB, free: 27.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.3596, allocations: 54.47 kB / 454 MB, free: 27.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3596, allocations: 33.39 kB / 454.1 MB, free: 27.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.3597, allocations: 331.1 kB / 454.4 MB, free: 27.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.3599, allocations: 99.45 kB / 454.5 MB, free: 27.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.3601, allocations: 144.6 kB / 454.6 MB, free: 27.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.3604, allocations: 260.2 kB / 454.9 MB, free: 27.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3605, allocations: 3.938 kB / 454.9 MB, free: 27.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004683/0.3609, allocations: 340.3 kB / 455.2 MB, free: 26.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.361, allocations: 30.95 kB / 455.3 MB, free: 26.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.361, allocations: 2.719 kB / 455.3 MB, free: 26.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.361, allocations: 2.531 kB / 455.3 MB, free: 26.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3612, allocations: 42.39 kB / 455.3 MB, free: 26.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3612, allocations: 2.625 kB / 455.3 MB, free: 26.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.3613, allocations: 36.36 kB / 455.3 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.3614, allocations: 12.58 kB / 455.4 MB, free: 26.85 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 (Hunting.count,$PRE.Hunting.count,Hunting.T_start,$PRE.Hunting.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.3615, allocations: 158.1 kB / 455.5 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3615, allocations: 22.22 kB / 455.5 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.362, allocations: 273.5 kB / 455.8 MB, free: 26.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.362, allocations: 2.625 kB / 455.8 MB, free: 26.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.362, allocations: 0 / 455.8 MB, free: 26.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.362, allocations: 0 / 455.8 MB, free: 26.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.3626, allocations: 0.6827 MB / 456.5 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3626, allocations: 0 / 456.5 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.3628, allocations: 29.56 kB / 456.5 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3628, allocations: 3.328 kB / 456.5 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3628, allocations: 6.625 kB / 456.5 MB, free: 26.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3628, allocations: 3.938 kB / 456.5 MB, free: 26.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3628, allocations: 6.562 kB / 456.5 MB, free: 26.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.3634, allocations: 470.4 kB / 457 MB, free: 25.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.3635, allocations: 98.02 kB / 457.1 MB, free: 25.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.3635, allocations: 6.688 kB / 457.1 MB, free: 25.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3637, allocations: 18.58 kB / 457.1 MB, free: 25.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.3637, allocations: 22.94 kB / 457.1 MB, free: 25.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3637, allocations: 8.625 kB / 457.1 MB, free: 25.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.3639, allocations: 191.6 kB / 457.3 MB, free: 25.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3639, allocations: 0 / 457.3 MB, free: 25.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.3642, allocations: 65.72 kB / 457.4 MB, free: 25.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001198/0.3643, allocations: 117.2 kB / 457.5 MB, free: 25.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.3648, allocations: 284.5 kB / 457.8 MB, free: 25.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3648, allocations: 0 / 457.8 MB, free: 25.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.365, allocations: 113.3 kB / 457.9 MB, free: 25.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3653, allocations: 35.06 kB / 457.9 MB, free: 25.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.3662, allocations: 0.7103 MB / 458.6 MB, free: 24.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.3664, allocations: 0.7867 MB / 459.4 MB, free: 24.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.902e-05/0.3665, allocations: 17.88 kB / 459.4 MB, free: 24.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.3665, allocations: 16.5 kB / 459.5 MB, free: 24.2 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3665, allocations: 0 / 459.5 MB, free: 24.2 MB / 350.1 MB Notification: Performance of Templates: time 0.004936/0.3715, allocations: 1.822 MB / 461.3 MB, free: 24.04 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: