Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.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.001366/0.001366, allocations: 111.5 kB / 17.08 MB, free: 5.984 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.001524/0.001524, allocations: 193.2 kB / 20.03 MB, free: 3.055 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.516/1.516, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.3971/0.3971, allocations: 28.8 MB / 326.7 MB, free: 5.109 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.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.61 kB / 453.7 MB, free: 29.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1348, allocations: 56.43 MB / 0.4982 GB, free: 6.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003664/0.1385, allocations: 2.091 MB / 0.5002 GB, free: 4.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006878/0.1392, allocations: 307.1 kB / 0.5005 GB, free: 4.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.1394, allocations: 15.94 kB / 0.5005 GB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.1397, allocations: 67.23 kB / 0.5006 GB, free: 4.402 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1398, allocations: 27.56 kB / 0.5006 GB, free: 4.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.1401, allocations: 163.8 kB / 0.5008 GB, free: 4.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005102/0.1406, allocations: 408.5 kB / 0.5011 GB, free: 3.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005896/0.1412, allocations: 350.2 kB / 0.5015 GB, free: 3.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1414, allocations: 151.3 kB / 0.5016 GB, free: 3.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.1416, allocations: 194.9 kB / 0.5018 GB, free: 3.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.37e-05/0.1417, allocations: 44 kB / 0.5019 GB, free: 3.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.421e-05/0.1417, allocations: 47.94 kB / 0.5019 GB, free: 3.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.409e-05/0.1418, allocations: 103.7 kB / 0.502 GB, free: 2.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.142, allocations: 214.7 kB / 0.5022 GB, free: 2.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.1426, allocations: 437.8 kB / 0.5026 GB, free: 2.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1426, allocations: 3.938 kB / 0.5026 GB, free: 2.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1426, allocations: 0 / 0.5026 GB, free: 2.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1426, allocations: 0 / 0.5026 GB, free: 2.277 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0009758/0.1436, allocations: 0.7289 MB / 0.5033 GB, free: 1.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.1436, allocations: 12.03 kB / 0.5033 GB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.819e-05/0.1437, allocations: 64.5 kB / 0.5034 GB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.1442, allocations: 324.4 kB / 0.5037 GB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.1443, allocations: 37.69 kB / 0.5038 GB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/0.1443, allocations: 56.38 kB / 0.5038 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000747/0.1451, allocations: 495.6 kB / 0.5043 GB, free: 472 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1451, allocations: 192 / 0.5043 GB, free: 472 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.1452, allocations: 27.94 kB / 0.5043 GB, free: 444 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.1452, allocations: 16 kB / 0.5043 GB, free: 428 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.1457, allocations: 273 kB / 0.5046 GB, free: 152 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.1477, allocations: 1.628 MB / 0.5062 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.1481, allocations: 186.6 kB / 0.5063 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1482, allocations: 84.83 kB / 0.5064 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1483, allocations: 0 / 0.5064 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.1483, allocations: 42.56 kB / 0.5065 GB, free: 14.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.1483, allocations: 0 / 0.5065 GB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004999/0.1488, allocations: 252.1 kB / 0.5067 GB, free: 13.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1489, allocations: 55.41 kB / 0.5068 GB, free: 13.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.1492, allocations: 254.7 kB / 0.507 GB, free: 13.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1492, allocations: 29.7 kB / 0.507 GB, free: 13.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.1494, allocations: 268.2 kB / 0.5073 GB, free: 13.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/0.1495, allocations: 79.3 kB / 0.5074 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/0.1496, allocations: 45.7 kB / 0.5074 GB, free: 13.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1498, allocations: 346.8 kB / 0.5077 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.1499, allocations: 59.98 kB / 0.5078 GB, free: 12.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.15, allocations: 122 kB / 0.5079 GB, free: 12.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1503, allocations: 189.9 kB / 0.5081 GB, free: 12.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1503, allocations: 0 / 0.5081 GB, free: 12.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003745/0.1507, allocations: 249.2 kB / 0.5083 GB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.1508, allocations: 12.03 kB / 0.5083 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1508, allocations: 0 / 0.5083 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1508, allocations: 4 kB / 0.5083 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.151, allocations: 43.91 kB / 0.5084 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.151, allocations: 4 kB / 0.5084 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1511, allocations: 31.72 kB / 0.5084 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1511, allocations: 8 kB / 0.5084 GB, free: 12.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (Predator.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Prey_1.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.000168/0.1513, allocations: 157.7 kB / 0.5086 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.1514, allocations: 27.81 kB / 0.5086 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.176e-05/0.1514, allocations: 34.17 kB / 0.5086 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.1515, allocations: 4 kB / 0.5086 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1515, allocations: 3.938 kB / 0.5086 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1515, allocations: 3.938 kB / 0.5087 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/0.1523, allocations: 0.6662 MB / 0.5093 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1523, allocations: 0 / 0.5093 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.1525, allocations: 35.92 kB / 0.5093 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1525, allocations: 4 kB / 0.5093 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1525, allocations: 0 / 0.5093 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1525, allocations: 3.938 kB / 0.5093 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1525, allocations: 4 kB / 0.5093 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.153, allocations: 370 kB / 0.5097 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.1531, allocations: 100.9 kB / 0.5098 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.1532, allocations: 8 kB / 0.5098 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.1533, allocations: 3.938 kB / 0.5098 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.1533, allocations: 12.03 kB / 0.5098 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1533, allocations: 4 kB / 0.5098 GB, free: 10.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1535, allocations: 190 kB / 0.51 GB, free: 10.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1535, allocations: 0 / 0.51 GB, free: 10.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.1538, allocations: 87.56 kB / 0.5101 GB, free: 10.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Prey_1.Integrator1.y,Prey_2.Integrator1.y,Predator.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001152/0.154, allocations: 99.19 kB / 0.5102 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.1543, allocations: 167.8 kB / 0.5103 GB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1543, allocations: 0 / 0.5103 GB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1544, allocations: 84.28 kB / 0.5104 GB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.1548, allocations: 41.92 kB / 0.5105 GB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.156, allocations: 0.6779 MB / 0.5111 GB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.1565, allocations: 0.8105 MB / 0.5119 GB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.1566, allocations: 23.44 kB / 0.5119 GB, free: 8.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1566, allocations: 3.938 kB / 0.5119 GB, free: 8.246 MB / 382.1 MB Notification: Performance of Templates: time 0.00605/0.1626, allocations: 3.423 MB / 0.5153 GB, free: 4.812 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.438930066069588] Failed to read output from testmodel.py, exit status != 0: 0.16995035600848496 0.18385148799999995 0.03860733 Calling exit ...