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.001664/0.001664, allocations: 112 kB / 16.41 MB, free: 6.52 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.001787/0.001787, allocations: 188 kB / 17.34 MB, free: 5.734 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.496/1.496, 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.2111/0.2111, allocations: 28.77 MB / 320 MB, free: 1.879 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 59.91 kB / 444.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1132, allocations: 56.42 MB / 0.4896 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003635/0.1168, allocations: 2.329 MB / 0.4919 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.118, allocations: 0.6309 MB / 0.4925 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1181, allocations: 8 kB / 0.4925 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.1183, allocations: 47.52 kB / 0.4925 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.679e-05/0.1184, allocations: 35.66 kB / 0.4926 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.1187, allocations: 119.8 kB / 0.4927 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.1191, allocations: 276 kB / 0.493 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.1193, allocations: 138 kB / 0.4931 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1195, allocations: 103.6 kB / 0.4932 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1196, allocations: 127.3 kB / 0.4933 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.1196, allocations: 27.94 kB / 0.4933 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1198, allocations: 59.97 kB / 0.4934 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1199, allocations: 83.69 kB / 0.4935 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.12, allocations: 147 kB / 0.4936 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.1204, allocations: 326.4 kB / 0.4939 GB, free: 5.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1204, allocations: 8 kB / 0.4939 GB, free: 5.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1204, allocations: 0 / 0.4939 GB, free: 5.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1204, allocations: 0 / 0.4939 GB, free: 5.648 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.001089/0.1215, allocations: 0.6677 MB / 0.4946 GB, free: 4.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1216, allocations: 12.03 kB / 0.4946 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.283e-05/0.1216, allocations: 44.66 kB / 0.4946 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.122, allocations: 291.6 kB / 0.4949 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.1221, allocations: 25.03 kB / 0.4949 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.1221, allocations: 28.38 kB / 0.495 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.1227, allocations: 347.9 kB / 0.4953 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1227, allocations: 0 / 0.4953 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.1228, allocations: 16 kB / 0.4953 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.1228, allocations: 8 kB / 0.4953 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.1233, allocations: 238.4 kB / 0.4956 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.1248, allocations: 1.16 MB / 0.4967 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.1253, allocations: 210.4 kB / 0.4969 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.1255, allocations: 92.81 kB / 0.497 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.964e-05/0.1255, allocations: 23.98 kB / 0.497 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003229/0.1259, allocations: 157.9 kB / 0.4971 GB, free: 2.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.1259, allocations: 0 / 0.4971 GB, free: 2.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007227/0.1266, allocations: 313.4 kB / 0.4974 GB, free: 1.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1266, allocations: 59.31 kB / 0.4975 GB, free: 1.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.1269, allocations: 266.7 kB / 0.4978 GB, free: 1.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.127, allocations: 33.7 kB / 0.4978 GB, free: 1.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.1271, allocations: 220.3 kB / 0.498 GB, free: 1.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.1272, allocations: 63.48 kB / 0.4981 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/0.1273, allocations: 49.7 kB / 0.4981 GB, free: 1.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1274, allocations: 334.8 kB / 0.4984 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.1277, allocations: 96.17 kB / 0.4985 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.1279, allocations: 137.5 kB / 0.4986 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.1284, allocations: 249.9 kB / 0.4989 GB, free: 288 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1284, allocations: 3.938 kB / 0.4989 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005889/0.129, allocations: 315 kB / 0.4992 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.129, allocations: 37.69 kB / 0.4992 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.129, allocations: 0 / 0.4992 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.129, allocations: 3.938 kB / 0.4992 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.1292, allocations: 40.11 kB / 0.4993 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1292, allocations: 4 kB / 0.4993 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1294, allocations: 27.81 kB / 0.4993 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.1294, allocations: 12 kB / 0.4993 GB, free: 15.83 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.0001627/0.1296, allocations: 164.2 kB / 0.4995 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.1296, allocations: 23.86 kB / 0.4995 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.1302, allocations: 266.8 kB / 0.4997 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1302, allocations: 4 kB / 0.4997 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1302, allocations: 0 / 0.4997 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1302, allocations: 0 / 0.4997 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008627/0.131, allocations: 0.6545 MB / 0.5004 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.131, allocations: 3.938 kB / 0.5004 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.1312, allocations: 35.91 kB / 0.5004 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1312, allocations: 0 / 0.5004 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1312, allocations: 12 kB / 0.5004 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1312, allocations: 0 / 0.5004 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1312, allocations: 3.938 kB / 0.5004 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.132, allocations: 459.1 kB / 0.5009 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.1321, allocations: 104.8 kB / 0.501 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.1321, allocations: 8 kB / 0.501 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1322, allocations: 16.05 kB / 0.501 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.1323, allocations: 27.84 kB / 0.501 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1323, allocations: 4 kB / 0.501 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.1325, allocations: 194 kB / 0.5012 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1325, allocations: 0 / 0.5012 GB, free: 13.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.1328, allocations: 63.77 kB / 0.5013 GB, free: 13.71 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.0001585/0.133, allocations: 107.8 kB / 0.5014 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005604/0.1336, allocations: 281.3 kB / 0.5016 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1336, allocations: 0 / 0.5016 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.1338, allocations: 99.88 kB / 0.5017 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1341, allocations: 28.88 kB / 0.5018 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1352, allocations: 0.5759 MB / 0.5023 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.1356, allocations: 0.7865 MB / 0.5031 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.1357, allocations: 13.55 kB / 0.5031 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.1358, allocations: 19.44 kB / 0.5031 GB, free: 11.73 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1358, allocations: 0 / 0.5031 GB, free: 11.73 MB / 398.1 MB Notification: Performance of Templates: time 0.005869/0.1416, allocations: 2.011 MB / 0.5051 GB, free: 9.73 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 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1)