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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00465/0.00465, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.126/1.126, allocations: 223.2 MB / 239 MB, free: 44 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008063/0.0008064, allocations: 97.16 kB / 290.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1359/0.1359, allocations: 28.84 MB / 370.2 MB, free: 12 kB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.000262/0.0002621, allocations: 7.359 kB / 438.1 MB, free: 88.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0687/0.06897, allocations: 57.5 MB / 495.6 MB, free: 31.71 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.3008, allocations: 80.26 MB / 0.5624 GB, free: 11.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001602/0.301, allocations: 64.19 kB / 0.5624 GB, free: 11.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01071/0.3117, allocations: 4.72 MB / 0.567 GB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3117, allocations: 1.094 kB / 0.567 GB, free: 10.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.3118, allocations: 10.56 kB / 0.567 GB, free: 10.95 MB / 378.7 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.0006314/0.3124, allocations: 0.6172 MB / 0.5676 GB, free: 10.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.3124, allocations: 9.094 kB / 0.5677 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.3125, allocations: 39.84 kB / 0.5677 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.3127, allocations: 286.9 kB / 0.568 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.3128, allocations: 30.34 kB / 0.568 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.3128, allocations: 31.34 kB / 0.568 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.3133, allocations: 350.6 kB / 0.5684 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3133, allocations: 0 / 0.5684 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.3134, allocations: 21.41 kB / 0.5684 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3134, allocations: 10.83 kB / 0.5684 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.3138, allocations: 261 kB / 0.5686 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3149, allocations: 1.173 MB / 0.5698 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.3153, allocations: 246 kB / 0.57 GB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.3153, allocations: 13.58 kB / 0.57 GB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.3156, allocations: 166.6 kB / 0.5702 GB, free: 9.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.3156, allocations: 9.312 kB / 0.5702 GB, free: 9.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006622/0.3163, allocations: 358 kB / 0.5705 GB, free: 9.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.3163, allocations: 60.39 kB / 0.5706 GB, free: 9.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.3165, allocations: 236.6 kB / 0.5708 GB, free: 9.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3166, allocations: 34.03 kB / 0.5709 GB, free: 9.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.3167, allocations: 207.4 kB / 0.5711 GB, free: 8.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.3167, allocations: 60.02 kB / 0.5711 GB, free: 8.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.3167, allocations: 4.5 kB / 0.5711 GB, free: 8.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.3168, allocations: 341.9 kB / 0.5714 GB, free: 8.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.317, allocations: 108.9 kB / 0.5715 GB, free: 8.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.3172, allocations: 136.4 kB / 0.5717 GB, free: 8.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.3174, allocations: 143 kB / 0.5718 GB, free: 8.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3174, allocations: 0 / 0.5718 GB, free: 8.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005099/0.3179, allocations: 350.7 kB / 0.5722 GB, free: 8.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.318, allocations: 34.31 kB / 0.5722 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.318, allocations: 1.312 kB / 0.5722 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.318, allocations: 2.188 kB / 0.5722 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3182, allocations: 55.02 kB / 0.5722 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3182, allocations: 1.344 kB / 0.5722 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3183, allocations: 26.84 kB / 0.5723 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.3184, allocations: 12.75 kB / 0.5723 GB, free: 8.367 MB / 378.7 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.0001075/0.3185, allocations: 169.1 kB / 0.5724 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.3185, allocations: 23.53 kB / 0.5725 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005338/0.3191, allocations: 308.6 kB / 0.5728 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3191, allocations: 6.125 kB / 0.5728 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3191, allocations: 0 / 0.5728 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3191, allocations: 1.125 kB / 0.5728 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.3198, allocations: 0.698 MB / 0.5734 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3198, allocations: 0 / 0.5734 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.32, allocations: 38.02 kB / 0.5735 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.32, allocations: 3.938 kB / 0.5735 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.32, allocations: 10.48 kB / 0.5735 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.32, allocations: 0 / 0.5735 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.32, allocations: 1.375 kB / 0.5735 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.3207, allocations: 0.4953 MB / 0.574 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.3207, allocations: 97.83 kB / 0.5741 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.3208, allocations: 4.625 kB / 0.5741 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.3209, allocations: 19.73 kB / 0.5741 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.321, allocations: 22.48 kB / 0.5741 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.321, allocations: 11.3 kB / 0.5741 GB, free: 7.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3211, allocations: 190.6 kB / 0.5743 GB, free: 7.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3211, allocations: 0 / 0.5743 GB, free: 7.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.3214, allocations: 75.91 kB / 0.5744 GB, free: 7.484 MB / 378.7 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.0001039/0.3215, allocations: 116.6 kB / 0.5745 GB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.3219, allocations: 288.5 kB / 0.5748 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.322, allocations: 0 / 0.5748 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.3222, allocations: 108.9 kB / 0.5749 GB, free: 7.309 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.3224, allocations: 37.5 kB / 0.5749 GB, free: 7.293 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000751/0.3231, allocations: 0.6715 MB / 0.5756 GB, free: 6.898 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.3233, allocations: 0.8009 MB / 0.5763 GB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.131e-05/0.3234, allocations: 18.67 kB / 0.5764 GB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.3235, allocations: 20.19 kB / 0.5764 GB, free: 6.184 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3235, allocations: 1.125 kB / 0.5764 GB, free: 6.184 MB / 378.7 MB Notification: Performance of Templates: time 0.003897/0.3274, allocations: 1.739 MB / 0.5781 GB, free: 6.043 MB / 378.7 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.makefile (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)