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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 81.08 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9803/0.9803, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.1376/0.1376, allocations: 21.81 MB / 282.1 MB, free: 7.023 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 359.2 MB, free: 4.844 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.1e-05, allocations: 5.266 kB / 359.2 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002557/0.002578, allocations: 2.248 MB / 361.4 MB, free: 2.574 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.00356, allocations: 0.6542 MB / 362.1 MB, free: 1.914 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.004961, allocations: 4 kB / 362.1 MB, free: 1.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.005244, allocations: 43.53 kB / 362.1 MB, free: 1.867 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.005397, allocations: 39.61 kB / 362.2 MB, free: 1.828 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.005923, allocations: 123.7 kB / 362.3 MB, free: 1.707 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.006262, allocations: 272 kB / 362.5 MB, free: 1.438 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.006507, allocations: 134.5 kB / 362.7 MB, free: 1.309 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.006679, allocations: 151.7 kB / 362.8 MB, free: 1.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.00678, allocations: 87.67 kB / 362.9 MB, free: 1.074 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.006813, allocations: 28 kB / 362.9 MB, free: 1.047 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.006929, allocations: 51.97 kB / 363 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.181e-05/0.00701, allocations: 87.67 kB / 363.1 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.007078, allocations: 87.69 kB / 363.2 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.007371, allocations: 242.9 kB / 363.4 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.007376, allocations: 4 kB / 363.4 MB, free: 0.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007378, allocations: 0 / 363.4 MB, free: 0.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.007382, allocations: 0 / 363.4 MB, free: 0.582 MB / 330.7 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.0006749/0.008057, allocations: 0.6923 MB / 364.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.008099, allocations: 8.031 kB / 364.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.892e-05/0.008177, allocations: 68.66 kB / 364.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.008437, allocations: 243.3 kB / 364.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.008458, allocations: 25.03 kB / 364.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.008503, allocations: 32.31 kB / 364.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.008802, allocations: 275 kB / 364.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.008811, allocations: 192 / 364.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.008829, allocations: 12.38 kB / 364.7 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.008838, allocations: 11.94 kB / 364.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.008937, allocations: 80.41 kB / 364.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.009854, allocations: 1.152 MB / 366 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.009994, allocations: 102.9 kB / 366.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.01003, allocations: 35.67 kB / 366.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.01007, allocations: 15.98 kB / 366.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.01021, allocations: 93.22 kB / 366.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.01021, allocations: 0 / 366.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002251/0.01044, allocations: 147.4 kB / 366.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.01047, allocations: 67.28 kB / 366.4 MB, free: 13.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.01064, allocations: 304.1 kB / 366.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.01066, allocations: 33.7 kB / 366.8 MB, free: 13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.01078, allocations: 267.1 kB / 367 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.01081, allocations: 59.47 kB / 367.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.01087, allocations: 55.3 kB / 367.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.01099, allocations: 0.5157 MB / 367.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.01105, allocations: 49.91 kB / 367.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.01112, allocations: 101.5 kB / 367.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.01123, allocations: 138.8 kB / 367.9 MB, free: 11.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01123, allocations: 4 kB / 367.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002017/0.01143, allocations: 220.7 kB / 368.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.01146, allocations: 41.69 kB / 368.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01147, allocations: 0 / 368.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.01148, allocations: 4 kB / 368.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.01159, allocations: 39.92 kB / 368.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.0116, allocations: 0 / 368.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.01167, allocations: 31.83 kB / 368.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.01168, allocations: 12.12 kB / 368.3 MB, free: 11.37 MB / 346.7 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 (Hare.Integrator1.local_reset,Lynx.Integrator1.local_reset,Hunting.count,$PRE.Hunting.count,Hunting.T_start,$PRE.Hunting.T_start,$whenCondition1) * 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 9.513e-05/0.01178, allocations: 168.5 kB / 368.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.0118, allocations: 31.8 kB / 368.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.01198, allocations: 143.6 kB / 368.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01198, allocations: 0 / 368.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01198, allocations: 7.984 kB / 368.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01199, allocations: 0 / 368.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.01231, allocations: 436.6 kB / 369.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01231, allocations: 7.875 kB / 369.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.501e-05/0.01241, allocations: 27.98 kB / 369.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01241, allocations: 4 kB / 369.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01242, allocations: 4 kB / 369.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01242, allocations: 0 / 369.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01242, allocations: 4 kB / 369.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.01264, allocations: 307.5 kB / 369.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.01266, allocations: 27.73 kB / 369.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.01268, allocations: 7.984 kB / 369.4 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.01275, allocations: 8 kB / 369.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.01279, allocations: 15.97 kB / 369.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.0128, allocations: 12.02 kB / 369.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.66e-05/0.01288, allocations: 197.1 kB / 369.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01289, allocations: 0 / 369.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.01311, allocations: 67.78 kB / 369.7 MB, free: 9.855 MB / 346.7 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.0001301/0.01324, allocations: 107.2 kB / 369.8 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.01343, allocations: 188 kB / 370 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01343, allocations: 0 / 370 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/0.01348, allocations: 46.42 kB / 370.1 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.01372, allocations: 44.06 kB / 370.1 MB, free: 9.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.01433, allocations: 0.5102 MB / 370.6 MB, free: 8.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.475e-05/0.01438, allocations: 91.8 kB / 370.7 MB, free: 8.793 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.47e-05/0.01444, allocations: 21.48 kB / 370.7 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.01452, allocations: 94.19 kB / 370.8 MB, free: 8.68 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01452, allocations: 0 / 370.8 MB, free: 8.68 MB / 346.7 MB Notification: Performance of Templates: time 0.004289/0.01881, allocations: 2.111 MB / 372.9 MB, free: 6.594 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.makefile [Timeout 660] (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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8022170080803335]