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.001035/0.001035, allocations: 105.4 kB / 16.41 MB, free: 6.496 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.00106/0.00106, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.228/1.228, allocations: 222.9 MB / 241 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.1566/0.1566, allocations: 28.79 MB / 320 MB, free: 1.906 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.89 kB / 444.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 56.41 MB / 0.4896 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003085/0.1045, allocations: 2.325 MB / 0.4919 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1055, allocations: 0.6348 MB / 0.4925 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1057, allocations: 4 kB / 0.4925 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.1058, allocations: 43.52 kB / 0.4925 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.926e-05/0.1059, allocations: 31.67 kB / 0.4926 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.1063, allocations: 123.8 kB / 0.4927 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.1066, allocations: 272 kB / 0.4929 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.1068, allocations: 190 kB / 0.4931 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.485e-05/0.1069, allocations: 107.5 kB / 0.4932 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1071, allocations: 123.3 kB / 0.4933 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.1071, allocations: 28 kB / 0.4934 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1072, allocations: 55.97 kB / 0.4934 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-05/0.1073, allocations: 75.7 kB / 0.4935 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1074, allocations: 151 kB / 0.4936 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.1077, allocations: 338.6 kB / 0.494 GB, free: 5.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1077, allocations: 0 / 0.494 GB, free: 5.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1078, allocations: 0 / 0.494 GB, free: 5.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1078, allocations: 0 / 0.494 GB, free: 5.66 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.0008309/0.1086, allocations: 0.6526 MB / 0.4946 GB, free: 4.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1086, allocations: 8.031 kB / 0.4946 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.657e-05/0.1087, allocations: 48.38 kB / 0.4947 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.109, allocations: 291.4 kB / 0.4949 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.1091, allocations: 21.03 kB / 0.4949 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.1091, allocations: 36.38 kB / 0.495 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.1096, allocations: 347.9 kB / 0.4953 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1096, allocations: 0 / 0.4953 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.1097, allocations: 12 kB / 0.4953 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1097, allocations: 11.98 kB / 0.4953 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.1101, allocations: 234.4 kB / 0.4956 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1113, allocations: 1.156 MB / 0.4967 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.1117, allocations: 214.3 kB / 0.4969 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1119, allocations: 108.7 kB / 0.497 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.112, allocations: 12 kB / 0.497 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.1123, allocations: 155.2 kB / 0.4972 GB, free: 2.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.1123, allocations: 0 / 0.4972 GB, free: 2.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006164/0.1129, allocations: 324.9 kB / 0.4975 GB, free: 1.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.1129, allocations: 63.28 kB / 0.4975 GB, free: 1.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1132, allocations: 266.6 kB / 0.4978 GB, free: 1.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1132, allocations: 33.7 kB / 0.4978 GB, free: 1.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1133, allocations: 208.1 kB / 0.498 GB, free: 1.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.1134, allocations: 59.19 kB / 0.4981 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.1134, allocations: 53.61 kB / 0.4981 GB, free: 1.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1135, allocations: 342.8 kB / 0.4984 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.1137, allocations: 88.19 kB / 0.4985 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.1139, allocations: 133.6 kB / 0.4987 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.1143, allocations: 244.9 kB / 0.4989 GB, free: 324 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1144, allocations: 3.938 kB / 0.4989 GB, free: 320 kB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005118/0.1149, allocations: 322.9 kB / 0.4992 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.1149, allocations: 33.7 kB / 0.4992 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1149, allocations: 4 kB / 0.4992 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1149, allocations: 4 kB / 0.4992 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1151, allocations: 43.84 kB / 0.4993 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1151, allocations: 4 kB / 0.4993 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1153, allocations: 27.95 kB / 0.4993 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.1153, allocations: 8 kB / 0.4993 GB, free: 15.86 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.000128/0.1154, allocations: 161.6 kB / 0.4995 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.1155, allocations: 27.62 kB / 0.4995 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.1159, allocations: 251.8 kB / 0.4997 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.116, allocations: 4 kB / 0.4997 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.116, allocations: 0 / 0.4997 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.116, allocations: 7.984 kB / 0.4998 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.1167, allocations: 0.666 MB / 0.5004 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1167, allocations: 0 / 0.5004 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1169, allocations: 27.98 kB / 0.5004 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1169, allocations: 4 kB / 0.5004 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1169, allocations: 7.922 kB / 0.5004 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1169, allocations: 0 / 0.5004 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1169, allocations: 3.938 kB / 0.5004 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006347/0.1176, allocations: 465.3 kB / 0.5009 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.1176, allocations: 96.84 kB / 0.501 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.1177, allocations: 8 kB / 0.501 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1178, allocations: 11.98 kB / 0.501 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.1179, allocations: 15.98 kB / 0.501 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1179, allocations: 12 kB / 0.501 GB, free: 14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.1181, allocations: 193.9 kB / 0.5012 GB, free: 13.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1181, allocations: 0 / 0.5012 GB, free: 13.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000297/0.1184, allocations: 71.59 kB / 0.5013 GB, free: 13.74 MB / 398.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.0001309/0.1185, allocations: 99.77 kB / 0.5014 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004762/0.119, allocations: 281.5 kB / 0.5016 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.119, allocations: 4 kB / 0.5017 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.1192, allocations: 107.9 kB / 0.5018 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1196, allocations: 35.44 kB / 0.5018 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.1204, allocations: 0.6017 MB / 0.5024 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1208, allocations: 0.7826 MB / 0.5031 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.1208, allocations: 23.44 kB / 0.5032 GB, free: 11.74 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1208, allocations: 4 kB / 0.5032 GB, free: 11.73 MB / 398.1 MB Notification: Performance of Templates: time 0.004448/0.1253, allocations: 3.087 MB / 0.5062 GB, free: 8.648 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)