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.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.001694/0.001694, allocations: 78.41 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002107/0.002107, allocations: 169.9 kB / 22.46 MB, free: 5.363 MB / 14.72 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 1.47/1.47, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.1959/0.1959, allocations: 21.8 MB / 281 MB, free: 10.82 MB / 270.1 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.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 1.643e-06/1.643e-06, allocations: 0 / 418.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.737e-05, allocations: 2.281 kB / 418.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003222/0.00325, allocations: 1.821 MB / 420 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008379/0.004088, allocations: 311 kB / 420.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.004351, allocations: 7.938 kB / 420.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.004588, allocations: 59.31 kB / 420.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.004745, allocations: 39.48 kB / 420.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.005073, allocations: 155.8 kB / 420.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000511/0.005584, allocations: 412.4 kB / 421 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004395/0.006024, allocations: 258.8 kB / 421.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.006276, allocations: 235.5 kB / 421.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.006432, allocations: 119.5 kB / 421.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.705e-05/0.006499, allocations: 44 kB / 421.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.494e-05/0.006554, allocations: 44 kB / 421.7 MB, free: 10 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.006655, allocations: 111.6 kB / 421.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.006782, allocations: 123.6 kB / 421.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000495/0.007277, allocations: 442.3 kB / 422.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.007282, allocations: 3.984 kB / 422.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007282, allocations: 0 / 422.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.007294, allocations: 4 kB / 422.3 MB, free: 9.332 MB / 350.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.0009957/0.00829, allocations: 0.642 MB / 423 MB, free: 8.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.008326, allocations: 8.031 kB / 423 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.008431, allocations: 64.56 kB / 423.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.008883, allocations: 273.8 kB / 423.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.008925, allocations: 37.69 kB / 423.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.002e-05/0.009005, allocations: 56.38 kB / 423.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.009773, allocations: 491.6 kB / 423.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.009787, allocations: 192 / 423.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.009834, allocations: 24.38 kB / 423.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.00985, allocations: 16.38 kB / 423.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.01033, allocations: 273 kB / 424.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.01224, allocations: 1.385 MB / 425.6 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.01266, allocations: 190.6 kB / 425.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.0128, allocations: 72.84 kB / 425.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.01282, allocations: 4 kB / 425.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.01284, allocations: 34.56 kB / 425.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.01285, allocations: 0 / 425.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004927/0.01334, allocations: 244.8 kB / 426.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.01339, allocations: 55.41 kB / 426.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.01362, allocations: 220.1 kB / 426.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.01365, allocations: 29.7 kB / 426.4 MB, free: 5.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.01385, allocations: 268.1 kB / 426.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.01391, allocations: 67.39 kB / 426.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.01399, allocations: 45.7 kB / 426.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.01417, allocations: 334.8 kB / 427.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.0143, allocations: 71.97 kB / 427.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.01446, allocations: 113.9 kB / 427.3 MB, free: 4.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.01477, allocations: 204.1 kB / 427.5 MB, free: 3.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01478, allocations: 0 / 427.5 MB, free: 3.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003932/0.01517, allocations: 241.3 kB / 427.7 MB, free: 3.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01519, allocations: 8 kB / 427.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01519, allocations: 0 / 427.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.01521, allocations: 4 kB / 427.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.01541, allocations: 44.11 kB / 427.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.01542, allocations: 4 kB / 427.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.01552, allocations: 23.78 kB / 427.8 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.01554, allocations: 12 kB / 427.8 MB, free: 3.578 MB / 350.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.000174/0.01571, allocations: 152.6 kB / 428 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.01576, allocations: 23.86 kB / 428 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.903e-05/0.01583, allocations: 29.8 kB / 428 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.01584, allocations: 0 / 428 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.01584, allocations: 4 kB / 428 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.01585, allocations: 3.984 kB / 428 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/0.01659, allocations: 0.5526 MB / 428.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01659, allocations: 0 / 428.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.01679, allocations: 32 kB / 428.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01679, allocations: 0 / 428.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.01681, allocations: 11.92 kB / 428.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01682, allocations: 0 / 428.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01682, allocations: 0 / 428.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.01735, allocations: 374.4 kB / 429 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.01739, allocations: 15.91 kB / 429 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.01742, allocations: 4 kB / 429 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.01752, allocations: 4 kB / 429 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.01755, allocations: 15.94 kB / 429 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.01756, allocations: 4 kB / 429 MB, free: 2.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.01771, allocations: 157.6 kB / 429.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01771, allocations: 0 / 429.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000344/0.01805, allocations: 83.56 kB / 429.3 MB, free: 2.074 MB / 350.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.0001243/0.01817, allocations: 99.19 kB / 429.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.01851, allocations: 163.7 kB / 429.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01851, allocations: 4.375 kB / 429.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.01863, allocations: 83.86 kB / 429.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.01899, allocations: 35.3 kB / 429.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.02017, allocations: 0.627 MB / 430.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.02039, allocations: 206.4 kB / 430.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.099e-05/0.02047, allocations: 17.64 kB / 430.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.02053, allocations: 16.5 kB / 430.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.02053, allocations: 0 / 430.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of Templates: time 0.005596/0.02613, allocations: 1.377 MB / 431.9 MB, free: 15.42 MB / 366.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: 4.468111764639616] Failed to read output from testmodel.py, exit status != 0: 0.036022912710905075 0.053620744000000005 0.043046239 Calling exit ...