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.001384/0.001384, allocations: 110.9 kB / 16.42 MB, free: 6.516 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.001613/0.001613, allocations: 187.9 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.378/1.378, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.19/0.19, 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.001208/0.001208, allocations: 63.89 kB / 444.9 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 56.42 MB / 0.4896 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.004292/0.1199, allocations: 2.314 MB / 0.4919 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1213, allocations: 0.6386 MB / 0.4925 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.1216, allocations: 4 kB / 0.4925 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.1218, allocations: 51.52 kB / 0.4925 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.1221, allocations: 27.69 kB / 0.4926 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.1226, allocations: 127.8 kB / 0.4927 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.123, allocations: 264.1 kB / 0.4929 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.1233, allocations: 194 kB / 0.4931 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.1235, allocations: 107.6 kB / 0.4932 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1236, allocations: 123.3 kB / 0.4934 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.1236, allocations: 28 kB / 0.4934 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1238, allocations: 55.91 kB / 0.4934 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1239, allocations: 79.69 kB / 0.4935 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.124, allocations: 151 kB / 0.4937 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.1245, allocations: 334.6 kB / 0.494 GB, free: 5.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1245, allocations: 0 / 0.494 GB, free: 5.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1245, allocations: 0 / 0.494 GB, free: 5.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.1245, allocations: 0 / 0.494 GB, free: 5.637 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.001059/0.1256, allocations: 0.6526 MB / 0.4946 GB, free: 4.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1256, allocations: 8.031 kB / 0.4946 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1257, allocations: 44.38 kB / 0.4947 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.1262, allocations: 291.4 kB / 0.4949 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.1262, allocations: 25.03 kB / 0.495 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.1263, allocations: 32.38 kB / 0.495 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.127, allocations: 351.9 kB / 0.4953 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.127, allocations: 0 / 0.4953 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.127, allocations: 16 kB / 0.4953 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.127, allocations: 8 kB / 0.4954 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.1275, allocations: 234.4 kB / 0.4956 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.1291, allocations: 1.152 MB / 0.4967 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.1295, allocations: 222.3 kB / 0.4969 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.1297, allocations: 104.8 kB / 0.497 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.1298, allocations: 15.98 kB / 0.497 GB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.1301, allocations: 157.7 kB / 0.4972 GB, free: 2.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.784e-06/0.1301, allocations: 0 / 0.4972 GB, free: 2.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006745/0.1308, allocations: 325.5 kB / 0.4975 GB, free: 1.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1308, allocations: 55.41 kB / 0.4975 GB, free: 1.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.1311, allocations: 266.6 kB / 0.4978 GB, free: 1.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1311, allocations: 37.64 kB / 0.4978 GB, free: 1.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1312, allocations: 204.1 kB / 0.498 GB, free: 1.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.1313, allocations: 63.19 kB / 0.4981 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.1314, allocations: 49.61 kB / 0.4981 GB, free: 1.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1315, allocations: 338.8 kB / 0.4985 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.1317, allocations: 92.19 kB / 0.4985 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.132, allocations: 133.5 kB / 0.4987 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.1324, allocations: 253.3 kB / 0.4989 GB, free: 292 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1324, allocations: 0 / 0.4989 GB, free: 292 kB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000597/0.133, allocations: 314.9 kB / 0.4992 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.1331, allocations: 33.83 kB / 0.4992 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1331, allocations: 4 kB / 0.4992 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1331, allocations: 4 kB / 0.4993 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.1333, allocations: 43.91 kB / 0.4993 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1334, allocations: 4 kB / 0.4993 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.1335, allocations: 23.83 kB / 0.4993 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.1336, allocations: 8 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.0001487/0.1337, allocations: 161.6 kB / 0.4995 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.1338, allocations: 31.62 kB / 0.4995 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.1343, allocations: 262.8 kB / 0.4998 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1343, allocations: 0 / 0.4998 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1343, allocations: 4 kB / 0.4998 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.1344, allocations: 100.7 kB / 0.4999 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1344, allocations: 11.94 kB / 0.4999 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1345, allocations: 7.984 kB / 0.4999 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.1346, allocations: 19.97 kB / 0.4999 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006303/0.1352, allocations: 324.7 kB / 0.5002 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000741/0.136, allocations: 0.5282 MB / 0.5007 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002125/0.1362, allocations: 114.7 kB / 0.5008 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1364, allocations: 197.9 kB / 0.501 GB, free: 14.05 MB / 398.1 MB Notification: Performance of Backend: time 7.11e-07/0.1364, allocations: 0 / 0.501 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006696/0.1371, allocations: 267.6 kB / 0.5013 GB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 0.001073/0.1382, allocations: 0.9866 MB / 0.5022 GB, free: 12.73 MB / 398.1 MB Notification: Performance of Templates: time 0.006139/0.1443, 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)