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.001392/0.001392, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001343/0.001343, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.388/1.388, 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.2218/0.2218, allocations: 28.79 MB / 319.9 MB, free: 1.918 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.42 kB / 388 MB, free: 40.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 56.43 MB / 444.4 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003393/0.105, allocations: 2.326 MB / 446.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.106, allocations: 0.6309 MB / 447.4 MB, free: 88 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1062, allocations: 4 kB / 447.4 MB, free: 84 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.1063, allocations: 43.52 kB / 447.4 MB, free: 40 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.154e-05/0.1065, allocations: 35.67 kB / 447.5 MB, free: 4 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.1069, allocations: 119.8 kB / 447.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.1072, allocations: 272.1 kB / 447.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.1074, allocations: 197.8 kB / 448.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1076, allocations: 99.58 kB / 448.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1077, allocations: 131.2 kB / 448.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.1077, allocations: 28 kB / 448.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1079, allocations: 51.97 kB / 448.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.108, allocations: 83.69 kB / 448.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1081, allocations: 147 kB / 448.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.1084, allocations: 334.6 kB / 448.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1084, allocations: 0 / 448.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1084, allocations: 4 kB / 448.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1084, 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.0008994/0.1093, allocations: 0.6487 MB / 449.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1094, allocations: 8.031 kB / 449.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.1094, allocations: 44.38 kB / 449.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.1098, allocations: 299.3 kB / 449.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1098, allocations: 25.03 kB / 449.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.1098, allocations: 32.38 kB / 450 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.1104, allocations: 339.9 kB / 450.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1104, allocations: 0 / 450.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.1104, allocations: 19.98 kB / 450.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1104, allocations: 8 kB / 450.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.1109, allocations: 234.4 kB / 450.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.1121, allocations: 1.156 MB / 451.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.1125, allocations: 210.5 kB / 451.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.1127, allocations: 111.6 kB / 452 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.1128, allocations: 8 kB / 452 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.1131, allocations: 163.1 kB / 452.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.1131, allocations: 4 kB / 452.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006209/0.1137, allocations: 325.5 kB / 452.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1137, allocations: 51.41 kB / 452.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.114, allocations: 270.6 kB / 452.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.114, allocations: 29.7 kB / 452.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1142, allocations: 208.1 kB / 453.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.1142, allocations: 59.11 kB / 453.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.1143, allocations: 53.69 kB / 453.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1144, allocations: 338.8 kB / 453.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.1146, allocations: 92.19 kB / 453.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.1149, allocations: 129.3 kB / 453.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.1153, allocations: 252.3 kB / 454 MB, free: 9.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1153, allocations: 3.938 kB / 454 MB, free: 9.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005748/0.1159, allocations: 322.3 kB / 454.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.1159, allocations: 37.64 kB / 454.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1159, allocations: 0 / 454.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1159, allocations: 4 kB / 454.3 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.1161, allocations: 43.97 kB / 454.4 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1162, allocations: 0 / 454.4 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1163, allocations: 27.73 kB / 454.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.1163, allocations: 8 kB / 454.4 MB, free: 8.766 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.0001432/0.1165, allocations: 168.7 kB / 454.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1165, allocations: 23.72 kB / 454.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000538/0.1171, allocations: 269.5 kB / 454.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.1171, allocations: 3.984 kB / 454.9 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1171, allocations: 0 / 454.9 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1171, allocations: 0 / 454.9 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007606/0.1179, allocations: 0.6661 MB / 455.5 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1179, allocations: 0 / 455.5 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.118, allocations: 35.92 kB / 455.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1181, allocations: 3.984 kB / 455.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1181, allocations: 0 / 455.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1181, allocations: 4 kB / 455.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.1181, allocations: 3.938 kB / 455.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.1188, allocations: 457.9 kB / 456 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.1188, allocations: 108.8 kB / 456.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1189, allocations: 7.938 kB / 456.1 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.119, allocations: 15.98 kB / 456.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/0.1191, allocations: 19.92 kB / 456.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1191, allocations: 7.984 kB / 456.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.1193, allocations: 194 kB / 456.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1193, allocations: 0 / 456.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1196, allocations: 67.69 kB / 456.4 MB, free: 6.633 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.0001421/0.1198, allocations: 99.77 kB / 456.5 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.1203, allocations: 271.2 kB / 456.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1203, allocations: 0 / 456.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.1205, allocations: 112.1 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.000346/0.1208, allocations: 32.86 kB / 456.9 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000948/0.1218, allocations: 0.5611 MB / 457.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1222, allocations: 0.7826 MB / 458.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.1223, allocations: 21.55 kB / 458.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.1223, allocations: 19.42 kB / 458.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1223, allocations: 0 / 458.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of Templates: time 0.005282/0.1276, allocations: 1.979 MB / 460.3 MB, free: 2.699 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 cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1)