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.004985/0.004985, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001148/0.001148, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.188/0.188, allocations: 28.78 MB / 319.3 MB, free: 1.887 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 71.89 kB / 444.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1136, allocations: 56.42 MB / 0.4889 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003202/0.1168, allocations: 2.324 MB / 0.4912 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1181, allocations: 0.627 MB / 0.4918 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.1183, allocations: 8 kB / 0.4918 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.1185, allocations: 47.52 kB / 0.4919 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.795e-05/0.1186, allocations: 35.66 kB / 0.4919 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.119, allocations: 119.8 kB / 0.492 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.1193, allocations: 272.1 kB / 0.4923 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.1196, allocations: 190 kB / 0.4925 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1197, allocations: 103.5 kB / 0.4926 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1198, allocations: 119.3 kB / 0.4927 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.1198, allocations: 28 kB / 0.4927 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.12, allocations: 55.97 kB / 0.4928 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.1201, allocations: 87.67 kB / 0.4928 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1202, allocations: 151 kB / 0.493 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.1205, allocations: 330.4 kB / 0.4933 GB, free: 5.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1205, allocations: 0 / 0.4933 GB, free: 5.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1205, allocations: 4 kB / 0.4933 GB, free: 5.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1206, allocations: 4 kB / 0.4933 GB, free: 5.621 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.0008933/0.1215, allocations: 0.66 MB / 0.4939 GB, free: 4.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1215, allocations: 12.03 kB / 0.494 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.1216, allocations: 44.66 kB / 0.494 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1219, allocations: 295.6 kB / 0.4943 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.1219, allocations: 25.03 kB / 0.4943 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.122, allocations: 32.38 kB / 0.4943 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.1225, allocations: 347.9 kB / 0.4947 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1226, allocations: 0 / 0.4947 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.1226, allocations: 11.98 kB / 0.4947 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1226, allocations: 8 kB / 0.4947 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.1231, allocations: 242.4 kB / 0.4949 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.1243, allocations: 1.16 MB / 0.4961 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.1248, allocations: 210.5 kB / 0.4963 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1249, allocations: 103.5 kB / 0.4964 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.125, allocations: 19.98 kB / 0.4964 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.1253, allocations: 155.4 kB / 0.4965 GB, free: 2.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.1253, allocations: 0 / 0.4965 GB, free: 2.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006509/0.126, allocations: 321.4 kB / 0.4968 GB, free: 1.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.126, allocations: 59.31 kB / 0.4969 GB, free: 1.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.1262, allocations: 262.7 kB / 0.4971 GB, free: 1.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1263, allocations: 25.7 kB / 0.4972 GB, free: 1.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1264, allocations: 220.3 kB / 0.4974 GB, free: 1.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.1265, allocations: 63.48 kB / 0.4974 GB, free: 1.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-05/0.1265, allocations: 45.7 kB / 0.4975 GB, free: 1.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1267, allocations: 346.8 kB / 0.4978 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.1269, allocations: 84.19 kB / 0.4979 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.1271, allocations: 133.6 kB / 0.498 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.1275, allocations: 256.3 kB / 0.4983 GB, free: 264 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1275, allocations: 7.938 kB / 0.4983 GB, free: 256 kB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005369/0.128, allocations: 326.5 kB / 0.4986 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.1281, allocations: 29.7 kB / 0.4986 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1281, allocations: 4 kB / 0.4986 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1281, allocations: 0 / 0.4986 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.1283, allocations: 47.91 kB / 0.4987 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1283, allocations: 3.938 kB / 0.4987 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.1285, allocations: 27.81 kB / 0.4987 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1285, allocations: 8 kB / 0.4987 GB, free: 15.8 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.0001429/0.1287, allocations: 171.6 kB / 0.4989 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.1287, allocations: 23.84 kB / 0.4989 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.1292, allocations: 263.6 kB / 0.4991 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1292, allocations: 4 kB / 0.4991 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1292, allocations: 0 / 0.4991 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1292, allocations: 0 / 0.4991 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/0.13, allocations: 0.6622 MB / 0.4998 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.13, allocations: 3.938 kB / 0.4998 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1301, allocations: 31.97 kB / 0.4998 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1302, allocations: 0 / 0.4998 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1302, allocations: 8 kB / 0.4998 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1302, allocations: 0 / 0.4998 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1302, allocations: 3.938 kB / 0.4998 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006478/0.1308, allocations: 465.7 kB / 0.5003 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.1309, allocations: 104.9 kB / 0.5004 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.1309, allocations: 4 kB / 0.5004 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1311, allocations: 15.98 kB / 0.5004 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.1312, allocations: 19.91 kB / 0.5004 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1312, allocations: 15.98 kB / 0.5004 GB, free: 13.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.1313, allocations: 186 kB / 0.5006 GB, free: 13.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1313, allocations: 0 / 0.5006 GB, free: 13.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.1316, allocations: 67.84 kB / 0.5007 GB, free: 13.68 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.0001254/0.1318, allocations: 111.8 kB / 0.5008 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005244/0.1323, allocations: 285.2 kB / 0.501 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1323, allocations: 0 / 0.501 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.1325, allocations: 107.9 kB / 0.5011 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1329, allocations: 29.12 kB / 0.5012 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009337/0.1338, allocations: 0.5718 MB / 0.5017 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1342, allocations: 0.7865 MB / 0.5025 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.475e-05/0.1343, allocations: 21.47 kB / 0.5025 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.1343, allocations: 15.44 kB / 0.5025 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1343, allocations: 4 kB / 0.5025 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Templates: time 0.005095/0.1394, allocations: 1.991 MB / 0.5045 GB, free: 9.691 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)