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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001353, allocations: 112.4 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3898/0.3898, allocations: 28.79 MB / 326.7 MB, free: 5.094 MB / 254.1 MB " [Timeout remaining time 179] 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=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 0.002031/0.002031, allocations: 69.33 kB / 453.7 MB, free: 29.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1181, allocations: 56.42 MB / 0.4981 GB, free: 6.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.004414/0.1225, allocations: 2.338 MB / 0.5004 GB, free: 4.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1241, allocations: 0.627 MB / 0.501 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.1245, allocations: 7.938 kB / 0.501 GB, free: 3.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.1247, allocations: 47.52 kB / 0.5011 GB, free: 3.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.125, allocations: 31.67 kB / 0.5011 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.1255, allocations: 123.8 kB / 0.5012 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004665/0.126, allocations: 276.1 kB / 0.5015 GB, free: 3.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.1263, allocations: 185.9 kB / 0.5017 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.1265, allocations: 107.6 kB / 0.5018 GB, free: 3.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1266, allocations: 119.3 kB / 0.5019 GB, free: 3.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.1267, allocations: 28 kB / 0.5019 GB, free: 3.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1269, allocations: 55.97 kB / 0.502 GB, free: 2.973 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.127, allocations: 87.62 kB / 0.502 GB, free: 2.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1271, allocations: 143.1 kB / 0.5022 GB, free: 2.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.1277, allocations: 338.4 kB / 0.5025 GB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1277, allocations: 0 / 0.5025 GB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1277, allocations: 3.938 kB / 0.5025 GB, free: 2.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1277, allocations: 0 / 0.5025 GB, free: 2.41 MB / 366.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.001172/0.1289, allocations: 0.66 MB / 0.5032 GB, free: 1.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1289, allocations: 8.031 kB / 0.5032 GB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.129, allocations: 44.66 kB / 0.5032 GB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.1295, allocations: 295.6 kB / 0.5035 GB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.1296, allocations: 33.02 kB / 0.5035 GB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.1296, allocations: 28.38 kB / 0.5035 GB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/0.1302, allocations: 343.9 kB / 0.5039 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1303, allocations: 3.938 kB / 0.5039 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.1303, allocations: 16 kB / 0.5039 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1303, allocations: 8 kB / 0.5039 GB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.1308, allocations: 234.4 kB / 0.5041 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.1325, allocations: 1.156 MB / 0.5053 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.1329, allocations: 222.4 kB / 0.5055 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.1331, allocations: 96.81 kB / 0.5056 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.1332, allocations: 11.98 kB / 0.5056 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.1335, allocations: 155.6 kB / 0.5057 GB, free: 14.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 3.036e-06/0.1335, allocations: 0 / 0.5057 GB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007639/0.1343, allocations: 327.4 kB / 0.506 GB, free: 14.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.1344, allocations: 51.41 kB / 0.5061 GB, free: 14.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.1347, allocations: 266.7 kB / 0.5063 GB, free: 14.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1347, allocations: 29.7 kB / 0.5064 GB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.1349, allocations: 220.4 kB / 0.5066 GB, free: 14.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.135, allocations: 67.42 kB / 0.5066 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.1351, allocations: 53.64 kB / 0.5067 GB, free: 13.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1352, allocations: 330.8 kB / 0.507 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.1354, allocations: 92.19 kB / 0.5071 GB, free: 13.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.1357, allocations: 136.7 kB / 0.5072 GB, free: 13.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.1362, allocations: 245.8 kB / 0.5075 GB, free: 13.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.1362, allocations: 3.938 kB / 0.5075 GB, free: 13.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000591/0.1368, allocations: 327.6 kB / 0.5078 GB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.1369, allocations: 37.69 kB / 0.5078 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1369, allocations: 0 / 0.5078 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1369, allocations: 4 kB / 0.5078 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.1371, allocations: 39.92 kB / 0.5078 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1371, allocations: 0 / 0.5078 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1373, allocations: 28 kB / 0.5079 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.1373, allocations: 12 kB / 0.5079 GB, free: 12.59 MB / 382.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.0001774/0.1375, allocations: 161.8 kB / 0.508 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.1375, allocations: 27.84 kB / 0.5081 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.1381, allocations: 261.3 kB / 0.5083 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.1381, allocations: 4 kB / 0.5083 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1381, allocations: 0 / 0.5083 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1381, allocations: 7.938 kB / 0.5083 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/0.139, allocations: 0.6622 MB / 0.509 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1391, allocations: 0 / 0.509 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.1392, allocations: 39.84 kB / 0.509 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1392, allocations: 0 / 0.509 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.1393, allocations: 4 kB / 0.509 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.1393, allocations: 4 kB / 0.509 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1393, allocations: 3.938 kB / 0.509 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.1401, allocations: 461.6 kB / 0.5095 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.1401, allocations: 101 kB / 0.5096 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1402, allocations: 4 kB / 0.5096 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1403, allocations: 11.98 kB / 0.5096 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.1404, allocations: 23.91 kB / 0.5096 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.1404, allocations: 8.062 kB / 0.5096 GB, free: 10.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.1406, allocations: 190 kB / 0.5098 GB, free: 10.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.1407, allocations: 0 / 0.5098 GB, free: 10.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003205/0.141, allocations: 71.66 kB / 0.5099 GB, free: 10.47 MB / 382.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.000172/0.1412, allocations: 107.7 kB / 0.51 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005704/0.1417, allocations: 271.3 kB / 0.5102 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1417, allocations: 4 kB / 0.5102 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.142, allocations: 111.8 kB / 0.5103 GB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1424, allocations: 31.28 kB / 0.5104 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1434, allocations: 0.6068 MB / 0.511 GB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.1439, allocations: 0.7865 MB / 0.5117 GB, free: 8.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.144, allocations: 19.44 kB / 0.5117 GB, free: 8.465 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.144, allocations: 4 kB / 0.5117 GB, free: 8.461 MB / 382.1 MB Notification: Performance of Templates: time 0.005701/0.1497, allocations: 3.026 MB / 0.5147 GB, free: 5.43 MB / 382.1 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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.666342862183228] Failed to read output from testmodel.py, exit status != 0: 0.15620836103335023 0.17068244600000002 0.040162436 Calling exit ...