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.001158/0.001158, allocations: 109 kB / 16.41 MB, free: 6.488 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.00122/0.00122, allocations: 185.5 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.322/1.322, allocations: 222.9 MB / 241 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.1631/0.1631, allocations: 28.78 MB / 320 MB, free: 1.918 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.91 kB / 444.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1064, allocations: 56.42 MB / 0.4896 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.00328/0.1097, allocations: 2.317 MB / 0.4919 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.111, allocations: 0.6386 MB / 0.4925 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.1111, allocations: 4 kB / 0.4925 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.1113, allocations: 43.53 kB / 0.4925 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.1114, allocations: 35.67 kB / 0.4926 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.1119, allocations: 123.8 kB / 0.4927 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.1122, allocations: 276 kB / 0.4929 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.1125, allocations: 182 kB / 0.4931 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1126, allocations: 107.6 kB / 0.4932 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1127, allocations: 115.3 kB / 0.4933 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.1128, allocations: 32 kB / 0.4934 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1129, allocations: 59.91 kB / 0.4934 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.673e-05/0.113, allocations: 87.67 kB / 0.4935 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.1131, allocations: 147 kB / 0.4936 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.1134, allocations: 334.6 kB / 0.494 GB, free: 5.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1134, allocations: 0 / 0.494 GB, free: 5.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1135, allocations: 0 / 0.494 GB, free: 5.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1135, 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.0009257/0.1144, allocations: 0.6487 MB / 0.4946 GB, free: 4.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1144, allocations: 8.031 kB / 0.4946 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.1145, allocations: 44.38 kB / 0.4946 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1149, allocations: 295.4 kB / 0.4949 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.1149, allocations: 29.03 kB / 0.495 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.115, allocations: 28.38 kB / 0.495 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.1155, allocations: 343.9 kB / 0.4953 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1156, allocations: 0 / 0.4953 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.1156, allocations: 16 kB / 0.4953 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1156, allocations: 8 kB / 0.4953 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.1161, allocations: 238.4 kB / 0.4956 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.1173, allocations: 1.16 MB / 0.4967 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.1177, allocations: 218.4 kB / 0.4969 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.1179, allocations: 104.8 kB / 0.497 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.118, allocations: 11.98 kB / 0.497 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.1183, allocations: 159.2 kB / 0.4972 GB, free: 2.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.1183, allocations: 0 / 0.4972 GB, free: 2.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006503/0.1189, allocations: 320.6 kB / 0.4975 GB, free: 1.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.119, allocations: 59.39 kB / 0.4975 GB, free: 1.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.1192, allocations: 270.6 kB / 0.4978 GB, free: 1.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1193, allocations: 29.7 kB / 0.4978 GB, free: 1.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1194, allocations: 216 kB / 0.498 GB, free: 1.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.1194, allocations: 51.2 kB / 0.4981 GB, free: 1.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.1195, allocations: 57.61 kB / 0.4981 GB, free: 1.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1196, allocations: 330.8 kB / 0.4984 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.1199, allocations: 100.2 kB / 0.4985 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.1201, allocations: 133.5 kB / 0.4987 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.1205, allocations: 249.3 kB / 0.4989 GB, free: 320 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.1205, allocations: 3.938 kB / 0.4989 GB, free: 316 kB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005122/0.121, allocations: 314.9 kB / 0.4992 GB, free: 15.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.121, allocations: 33.7 kB / 0.4992 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1211, allocations: 0 / 0.4992 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1211, allocations: 8.125 kB / 0.4992 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.1213, allocations: 43.91 kB / 0.4993 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1213, allocations: 0 / 0.4993 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.1214, allocations: 27.83 kB / 0.4993 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.1215, 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.0001475/0.1216, allocations: 157.6 kB / 0.4995 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.1217, allocations: 27.62 kB / 0.4995 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.1221, allocations: 263.7 kB / 0.4998 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1221, allocations: 0 / 0.4998 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1222, allocations: 0 / 0.4998 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1222, allocations: 3.984 kB / 0.4998 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007527/0.1229, allocations: 0.666 MB / 0.5004 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1229, allocations: 4 kB / 0.5004 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1231, allocations: 31.92 kB / 0.5004 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1231, allocations: 4 kB / 0.5004 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.1231, allocations: 4 kB / 0.5004 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.1232, allocations: 15.91 kB / 0.5005 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1232, allocations: 3.938 kB / 0.5005 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.1238, allocations: 449.4 kB / 0.5009 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.1239, allocations: 96.92 kB / 0.501 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.1239, allocations: 11.98 kB / 0.501 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1241, allocations: 11.98 kB / 0.501 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.1242, allocations: 19.92 kB / 0.501 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1242, allocations: 4 kB / 0.501 GB, free: 14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1243, allocations: 197.9 kB / 0.5012 GB, free: 13.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1243, allocations: 0 / 0.5012 GB, free: 13.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.1247, allocations: 67.59 kB / 0.5013 GB, free: 13.75 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.0001486/0.1248, allocations: 107.8 kB / 0.5014 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004914/0.1253, allocations: 275.1 kB / 0.5017 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1253, allocations: 0 / 0.5017 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1255, allocations: 103.9 kB / 0.5017 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1259, allocations: 38.05 kB / 0.5018 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1269, allocations: 0.6096 MB / 0.5024 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1273, allocations: 0.7865 MB / 0.5031 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.1274, allocations: 19.44 kB / 0.5032 GB, free: 11.74 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1274, allocations: 0 / 0.5032 GB, free: 11.74 MB / 398.1 MB Notification: Performance of Templates: time 0.005518/0.1329, allocations: 3.04 MB / 0.5061 GB, free: 8.695 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)