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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.0008011/0.0008012, allocations: 176.1 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.15/1.15, allocations: 205.4 MB / 222.3 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007342/0.0007342, allocations: 86.31 kB / 270.6 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo): time 0.1488/0.1488, allocations: 28.82 MB / 347.7 MB, free: 11 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 12 kB / 413 MB, free: 47.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06992/0.07025, allocations: 54.63 MB / 467.7 MB, free: 8.883 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.2993, allocations: 79.51 MB / 0.5344 GB, free: 6.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001654/0.2995, allocations: 63.92 kB / 0.5344 GB, free: 6.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01116/0.3106, allocations: 4.689 MB / 0.539 GB, free: 2.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3107, allocations: 0 / 0.539 GB, free: 2.234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.494e-05/0.3107, allocations: 8 kB / 0.539 GB, free: 2.227 MB / 362.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.0007358/0.3114, allocations: 0.6155 MB / 0.5396 GB, free: 1.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.3115, allocations: 11.97 kB / 0.5396 GB, free: 1.543 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.3116, allocations: 48.45 kB / 0.5397 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.3118, allocations: 291.4 kB / 0.5399 GB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.3119, allocations: 25.03 kB / 0.54 GB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.3119, allocations: 28.38 kB / 0.54 GB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.3125, allocations: 360.2 kB / 0.5403 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3125, allocations: 4.125 kB / 0.5403 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.3126, allocations: 15.94 kB / 0.5404 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.3126, allocations: 8 kB / 0.5404 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.3131, allocations: 262.4 kB / 0.5406 GB, free: 472 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.3144, allocations: 1.164 MB / 0.5417 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.3149, allocations: 246.4 kB / 0.542 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.3151, allocations: 112.8 kB / 0.5421 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.3151, allocations: 16 kB / 0.5421 GB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002937/0.3154, allocations: 179.4 kB / 0.5423 GB, free: 14.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.3155, allocations: 0 / 0.5423 GB, free: 14.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006981/0.3162, allocations: 366.5 kB / 0.5426 GB, free: 14.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.3162, allocations: 59.41 kB / 0.5427 GB, free: 14.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.3164, allocations: 262.7 kB / 0.5429 GB, free: 13.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.3165, allocations: 25.7 kB / 0.543 GB, free: 13.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3166, allocations: 208.1 kB / 0.5432 GB, free: 13.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.3167, allocations: 67.08 kB / 0.5432 GB, free: 13.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.3167, allocations: 12 kB / 0.5432 GB, free: 13.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3168, allocations: 334.8 kB / 0.5436 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.317, allocations: 100.2 kB / 0.5436 GB, free: 13.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.3172, allocations: 149.5 kB / 0.5438 GB, free: 13.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.3177, allocations: 278.9 kB / 0.5441 GB, free: 12.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3177, allocations: 0 / 0.5441 GB, free: 12.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005619/0.3183, allocations: 362.5 kB / 0.5444 GB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.3183, allocations: 35.11 kB / 0.5444 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3183, allocations: 0 / 0.5444 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3183, allocations: 4 kB / 0.5444 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.3185, allocations: 43.91 kB / 0.5445 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3185, allocations: 4 kB / 0.5445 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.3187, allocations: 27.83 kB / 0.5445 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.3187, allocations: 16.12 kB / 0.5445 GB, free: 12.26 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.0001321/0.3189, allocations: 157.7 kB / 0.5447 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.3189, allocations: 23.72 kB / 0.5447 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000551/0.3194, allocations: 311.5 kB / 0.545 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3195, allocations: 4 kB / 0.545 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3195, allocations: 0 / 0.545 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3195, allocations: 4 kB / 0.545 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007689/0.3203, allocations: 0.6915 MB / 0.5457 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3203, allocations: 4 kB / 0.5457 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.3204, allocations: 43.91 kB / 0.5457 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3205, allocations: 0 / 0.5457 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3205, allocations: 7.938 kB / 0.5457 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3205, allocations: 0 / 0.5457 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3205, allocations: 3.984 kB / 0.5457 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.3212, allocations: 0.5095 MB / 0.5462 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.3213, allocations: 100.8 kB / 0.5463 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.3213, allocations: 4 kB / 0.5463 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3215, allocations: 20.05 kB / 0.5464 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.3215, allocations: 23.91 kB / 0.5464 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3215, allocations: 8 kB / 0.5464 GB, free: 10.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.3217, allocations: 193.9 kB / 0.5466 GB, free: 10.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3217, allocations: 0 / 0.5466 GB, free: 10.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.322, allocations: 67.69 kB / 0.5466 GB, free: 9.996 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.0001256/0.3221, allocations: 115.1 kB / 0.5467 GB, free: 9.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004426/0.3226, allocations: 279.2 kB / 0.547 GB, free: 9.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3226, allocations: 0 / 0.547 GB, free: 9.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.3228, allocations: 115.8 kB / 0.5471 GB, free: 9.477 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3231, allocations: 33.11 kB / 0.5472 GB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009041/0.324, allocations: 0.677 MB / 0.5478 GB, free: 8.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.3243, allocations: 0.7868 MB / 0.5486 GB, free: 7.922 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.558e-05/0.3244, allocations: 21.55 kB / 0.5486 GB, free: 7.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.3245, allocations: 23.38 kB / 0.5486 GB, free: 7.879 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3245, allocations: 0 / 0.5486 GB, free: 7.879 MB / 378.7 MB Notification: Performance of Templates: time 0.00417/0.3286, allocations: 1.765 MB / 0.5503 GB, free: 6.117 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)