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.001446/0.001446, allocations: 103.6 kB / 16.36 MB, free: 5.875 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.001463/0.001463, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.176/0.176, allocations: 28.78 MB / 319.9 MB, free: 1.895 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 60 kB / 388 MB, free: 40.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1047, allocations: 56.44 MB / 444.5 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.004029/0.1088, allocations: 2.307 MB / 446.8 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1102, allocations: 0.6348 MB / 447.4 MB, free: 88 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.1105, allocations: 4 kB / 447.4 MB, free: 84 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.1107, allocations: 39.53 kB / 447.4 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.1109, allocations: 39.59 kB / 447.5 MB, free: 4 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.1113, allocations: 127.8 kB / 447.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.1117, allocations: 272 kB / 447.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002894/0.1119, allocations: 193.9 kB / 448.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1121, allocations: 103.6 kB / 448.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1122, allocations: 123.3 kB / 448.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.1122, allocations: 28 kB / 448.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1124, allocations: 51.97 kB / 448.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.1125, allocations: 83.67 kB / 448.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1126, allocations: 155 kB / 448.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.1129, allocations: 330.6 kB / 448.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.113, allocations: 0 / 448.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.113, allocations: 0 / 448.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.113, allocations: 0 / 448.9 MB, free: 14.56 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.0009603/0.1139, allocations: 0.6565 MB / 449.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.114, allocations: 8.031 kB / 449.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.954e-05/0.1141, allocations: 48.38 kB / 449.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.1144, allocations: 295.3 kB / 449.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.1145, allocations: 21.03 kB / 449.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.1145, allocations: 32.38 kB / 450 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.1151, allocations: 347.9 kB / 450.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1151, allocations: 0 / 450.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.1151, allocations: 12 kB / 450.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.1151, allocations: 8 kB / 450.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.1156, allocations: 238.4 kB / 450.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.1169, allocations: 1.152 MB / 451.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.1174, allocations: 210.5 kB / 451.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.1176, allocations: 100.8 kB / 452 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.1176, allocations: 15.98 kB / 452 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.1179, allocations: 165.8 kB / 452.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 3.276e-06/0.1179, allocations: 3.984 kB / 452.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006812/0.1186, allocations: 317.5 kB / 452.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1187, allocations: 55.41 kB / 452.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.1189, allocations: 270.6 kB / 452.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.119, allocations: 33.7 kB / 452.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1191, allocations: 208.1 kB / 453.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.1192, allocations: 63.09 kB / 453.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.1193, allocations: 45.7 kB / 453.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1194, allocations: 342.8 kB / 453.5 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.1196, allocations: 92.11 kB / 453.6 MB, free: 9.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.1198, allocations: 137.4 kB / 453.7 MB, free: 9.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.1202, allocations: 241.9 kB / 454 MB, free: 9.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1202, allocations: 7.938 kB / 454 MB, free: 9.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005579/0.1208, allocations: 326.2 kB / 454.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.1209, allocations: 33.7 kB / 454.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1209, allocations: 0 / 454.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1209, allocations: 4 kB / 454.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.1211, allocations: 39.97 kB / 454.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1211, allocations: 4 kB / 454.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.1213, allocations: 35.8 kB / 454.4 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1213, allocations: 8 kB / 454.4 MB, free: 8.75 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.0001541/0.1215, allocations: 162.2 kB / 454.6 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1215, allocations: 23.72 kB / 454.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.122, allocations: 261.5 kB / 454.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.122, allocations: 4 kB / 454.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.122, allocations: 4 kB / 454.9 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.122, allocations: 4 kB / 454.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008242/0.1229, allocations: 0.6583 MB / 455.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1229, allocations: 0 / 455.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.1231, allocations: 31.92 kB / 455.5 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.1231, allocations: 4 kB / 455.5 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1231, allocations: 4 kB / 455.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1231, allocations: 0 / 455.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1231, allocations: 7.938 kB / 455.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.1238, allocations: 468.2 kB / 456 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.1239, allocations: 96.77 kB / 456.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.1239, allocations: 11.98 kB / 456.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1241, allocations: 8 kB / 456.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.1242, allocations: 23.97 kB / 456.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1242, allocations: 8 kB / 456.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.1244, allocations: 193.9 kB / 456.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1244, allocations: 0 / 456.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.1247, allocations: 63.69 kB / 456.4 MB, free: 6.637 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.0001387/0.1249, allocations: 99.78 kB / 456.5 MB, free: 6.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.1254, allocations: 281.1 kB / 456.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1254, allocations: 0 / 456.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.1256, allocations: 107.9 kB / 456.9 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.126, allocations: 28.81 kB / 456.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/0.127, allocations: 0.571 MB / 457.5 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1273, allocations: 0.7865 MB / 458.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.159e-05/0.1274, allocations: 21.55 kB / 458.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.1275, allocations: 19.44 kB / 458.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1275, allocations: 0 / 458.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of Templates: time 0.005402/0.1329, allocations: 1.971 MB / 460.3 MB, free: 2.695 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 -s gbode -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1)