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.001102/0.001102, allocations: 105 kB / 15.99 MB, free: 6.344 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.001074/0.001074, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.27/1.27, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1817/0.1817, allocations: 28.77 MB / 319.5 MB, free: 1.945 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 59.84 kB / 386.7 MB, free: 40.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1025, allocations: 56.43 MB / 443.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003494/0.106, allocations: 2.372 MB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1072, allocations: 0.6116 MB / 446.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.1074, allocations: 4 kB / 446.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.1076, allocations: 31.72 kB / 446.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.949e-05/0.1077, allocations: 23.86 kB / 446.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.1082, allocations: 111.8 kB / 446.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.1085, allocations: 272.1 kB / 446.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.1088, allocations: 189.9 kB / 446.8 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1089, allocations: 107.6 kB / 446.9 MB, free: 400 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.109, allocations: 123.3 kB / 447 MB, free: 276 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.1091, allocations: 28 kB / 447 MB, free: 248 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1092, allocations: 55.91 kB / 447.1 MB, free: 192 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1093, allocations: 83.69 kB / 447.1 MB, free: 108 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1094, allocations: 147.1 kB / 447.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.1097, allocations: 223.8 kB / 447.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1097, allocations: 0 / 447.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1097, allocations: 0 / 447.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1098, allocations: 0 / 447.5 MB, free: 15.74 MB / 334.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.0009529/0.1107, allocations: 0.6565 MB / 448.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1108, allocations: 8.031 kB / 448.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.1108, allocations: 44.38 kB / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.1111, allocations: 291.3 kB / 448.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.1112, allocations: 29.03 kB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.1112, allocations: 32.36 kB / 448.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.1118, allocations: 347.8 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1118, allocations: 0 / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.1119, allocations: 16 kB / 448.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1119, allocations: 8 kB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.1123, allocations: 234.4 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.1136, allocations: 1.163 MB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.114, allocations: 222.4 kB / 450.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.1142, allocations: 96.81 kB / 450.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.1143, allocations: 15.98 kB / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003626/0.1147, allocations: 151.2 kB / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.1147, allocations: 0 / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.000654/0.1153, allocations: 327.8 kB / 451.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1154, allocations: 55.41 kB / 451.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1156, allocations: 266.6 kB / 451.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.1157, allocations: 29.7 kB / 451.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1158, allocations: 212.1 kB / 451.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.1159, allocations: 63.09 kB / 451.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.116, allocations: 53.64 kB / 451.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1161, allocations: 330.8 kB / 452.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.1163, allocations: 96.19 kB / 452.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.1165, allocations: 132.7 kB / 452.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.1169, allocations: 248.3 kB / 452.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1169, allocations: 3.938 kB / 452.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005101/0.1174, allocations: 333.2 kB / 452.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.1175, allocations: 29.7 kB / 452.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1175, allocations: 0 / 452.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.1175, allocations: 7.984 kB / 452.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1177, allocations: 35.98 kB / 453 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1177, allocations: 3.938 kB / 453 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.1179, allocations: 31.73 kB / 453 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1179, allocations: 4 kB / 453 MB, free: 9.93 MB / 334.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.0001477/0.1181, allocations: 168.6 kB / 453.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.1181, allocations: 23.7 kB / 453.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.1186, allocations: 265.8 kB / 453.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1186, allocations: 3.938 kB / 453.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1186, allocations: 0 / 453.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1186, allocations: 4 kB / 453.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/0.1194, allocations: 0.67 MB / 454.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1194, allocations: 0 / 454.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.1196, allocations: 31.97 kB / 454.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-06/0.1196, allocations: 0 / 454.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1196, allocations: 4 kB / 454.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1196, allocations: 4 kB / 454.2 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1196, allocations: 3.938 kB / 454.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.1203, allocations: 461.5 kB / 454.6 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.1204, allocations: 100.8 kB / 454.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.1204, allocations: 7.938 kB / 454.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.1206, allocations: 15.98 kB / 454.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.1206, allocations: 23.91 kB / 454.8 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1207, allocations: 4 kB / 454.8 MB, free: 8.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1208, allocations: 194 kB / 455 MB, free: 7.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1208, allocations: 0 / 455 MB, free: 7.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.1212, allocations: 63.69 kB / 455 MB, free: 7.805 MB / 334.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.000158/0.1213, allocations: 107.2 kB / 455.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.1218, allocations: 275.2 kB / 455.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1219, allocations: 256 / 455.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.1221, allocations: 111.9 kB / 455.5 MB, free: 7.301 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1224, allocations: 28.75 kB / 455.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.1235, allocations: 0.7385 MB / 456.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1238, allocations: 0.7904 MB / 457.1 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.1239, allocations: 19.44 kB / 457.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of SimCode: time 2.765e-06/0.1239, allocations: 8 kB / 457.1 MB, free: 5.656 MB / 334.1 MB Notification: Performance of Templates: time 0.004849/0.1288, allocations: 3.02 MB / 460.1 MB, free: 2.641 MB / 334.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)