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.001093/0.001093, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001141/0.001141, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1748/0.1748, allocations: 28.79 MB / 320 MB, free: 1.898 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 444.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1221, allocations: 56.42 MB / 0.4896 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003355/0.1255, allocations: 2.321 MB / 0.4919 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1267, allocations: 0.6348 MB / 0.4925 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1269, allocations: 4 kB / 0.4925 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.1271, allocations: 43.52 kB / 0.4925 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.1272, allocations: 35.67 kB / 0.4926 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.1276, allocations: 123.8 kB / 0.4927 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.1279, allocations: 276.1 kB / 0.493 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.1282, allocations: 182 kB / 0.4931 GB, free: 6.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1283, allocations: 107.5 kB / 0.4932 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1285, allocations: 123.3 kB / 0.4934 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.1285, allocations: 28 kB / 0.4934 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1286, allocations: 55.97 kB / 0.4934 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1288, allocations: 83.69 kB / 0.4935 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1289, allocations: 147 kB / 0.4937 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.1292, allocations: 334.6 kB / 0.494 GB, free: 5.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1292, allocations: 0 / 0.494 GB, free: 5.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1292, allocations: 0 / 0.494 GB, free: 5.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1293, allocations: 0 / 0.494 GB, free: 5.645 MB / 382.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.001/0.1303, allocations: 0.6526 MB / 0.4946 GB, free: 4.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1303, allocations: 8.031 kB / 0.4946 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.1304, allocations: 48.38 kB / 0.4947 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1307, allocations: 295.4 kB / 0.4949 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.1308, allocations: 29.03 kB / 0.495 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.1308, allocations: 32.36 kB / 0.495 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.1314, allocations: 343.9 kB / 0.4953 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1314, allocations: 4 kB / 0.4953 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.1315, allocations: 12 kB / 0.4953 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1315, allocations: 8 kB / 0.4954 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.132, allocations: 238.4 kB / 0.4956 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.1334, allocations: 1.148 MB / 0.4967 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.1338, allocations: 226.3 kB / 0.4969 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.134, allocations: 100.8 kB / 0.497 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.1341, allocations: 19.92 kB / 0.497 GB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.1344, allocations: 153.5 kB / 0.4972 GB, free: 2.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.1344, allocations: 0 / 0.4972 GB, free: 2.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006695/0.1351, allocations: 321.5 kB / 0.4975 GB, free: 1.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.1352, allocations: 51.41 kB / 0.4975 GB, free: 1.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1354, allocations: 270.6 kB / 0.4978 GB, free: 1.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1354, allocations: 29.7 kB / 0.4978 GB, free: 1.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1356, allocations: 216 kB / 0.498 GB, free: 1.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.1356, allocations: 63.19 kB / 0.4981 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/0.1357, allocations: 57.61 kB / 0.4981 GB, free: 1.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1359, allocations: 330.8 kB / 0.4985 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.1361, allocations: 96.17 kB / 0.4985 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.1364, allocations: 129.6 kB / 0.4987 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.1368, allocations: 245.9 kB / 0.4989 GB, free: 300 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1368, allocations: 0 / 0.4989 GB, free: 300 kB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006039/0.1374, allocations: 326.4 kB / 0.4992 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.1374, allocations: 40.81 kB / 0.4993 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1374, allocations: 0 / 0.4993 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1375, allocations: 4 kB / 0.4993 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.1377, allocations: 35.98 kB / 0.4993 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1377, allocations: 3.938 kB / 0.4993 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1378, allocations: 27.83 kB / 0.4993 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1378, allocations: 12.12 kB / 0.4993 GB, free: 15.84 MB / 398.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.0001572/0.138, allocations: 157.7 kB / 0.4995 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.1381, allocations: 27.62 kB / 0.4995 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.1385, allocations: 259.7 kB / 0.4998 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1386, allocations: 0 / 0.4998 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1386, allocations: 0 / 0.4998 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.1386, allocations: 104.7 kB / 0.4999 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.1387, allocations: 15.92 kB / 0.4999 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.1388, allocations: 15.98 kB / 0.4999 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.1389, allocations: 11.98 kB / 0.4999 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005768/0.1395, allocations: 336.6 kB / 0.5002 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007015/0.1402, allocations: 0.5307 MB / 0.5007 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001912/0.1404, allocations: 103.9 kB / 0.5008 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1405, allocations: 193.9 kB / 0.501 GB, free: 14.05 MB / 398.1 MB Notification: Performance of Backend: time 4.21e-07/0.1405, allocations: 0 / 0.501 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006139/0.1412, allocations: 281.5 kB / 0.5013 GB, free: 13.76 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009727/0.1421, allocations: 0.9707 MB / 0.5022 GB, free: 12.73 MB / 398.1 MB Notification: Performance of Templates: time 0.005578/0.1477, allocations: 2.543 MB / 0.5047 GB, free: 10.2 MB / 398.1 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)