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.001461/0.001461, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001081/0.001081, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.1509/0.1509, allocations: 21.8 MB / 282.8 MB, free: 7.031 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.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 3.146e-06/3.146e-06, allocations: 0 / 360 MB, free: 4.832 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.311e-05, allocations: 2.312 kB / 360 MB, free: 4.828 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002407/0.00243, allocations: 1.856 MB / 361.8 MB, free: 2.965 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006718/0.003102, allocations: 311.1 kB / 362.1 MB, free: 2.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.003306, allocations: 7.938 kB / 362.2 MB, free: 2.652 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.003496, allocations: 67.19 kB / 362.2 MB, free: 2.586 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.003581, allocations: 35.61 kB / 362.3 MB, free: 2.551 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.00381, allocations: 155.8 kB / 362.4 MB, free: 2.398 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.004109, allocations: 404.4 kB / 362.8 MB, free: 2.004 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.004419, allocations: 258.8 kB / 363.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.004583, allocations: 235.5 kB / 363.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.00469, allocations: 123.5 kB / 363.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.004736, allocations: 44 kB / 363.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.444e-05/0.004771, allocations: 44 kB / 363.5 MB, free: 1.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.004839, allocations: 103.6 kB / 363.6 MB, free: 1.199 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.00492, allocations: 131.6 kB / 363.7 MB, free: 1.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.005196, allocations: 306.5 kB / 364 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.0052, allocations: 0 / 364 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.0052, allocations: 0 / 364 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.005206, allocations: 0 / 364 MB, free: 0.7695 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0006792/0.005885, allocations: 0.7534 MB / 364.8 MB, free: 15.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.005922, allocations: 12.03 kB / 364.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.006009, allocations: 96.61 kB / 364.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.006262, allocations: 276.6 kB / 365.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.006287, allocations: 37.69 kB / 365.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.006337, allocations: 56.36 kB / 365.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.006653, allocations: 387.4 kB / 365.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.006665, allocations: 4.188 kB / 365.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.006688, allocations: 24.38 kB / 365.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.006698, allocations: 12.38 kB / 365.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.006827, allocations: 144.9 kB / 365.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.007941, allocations: 1.671 MB / 367.5 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.00813, allocations: 135 kB / 367.6 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.008176, allocations: 43.66 kB / 367.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.008188, allocations: 8 kB / 367.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.008207, allocations: 33.39 kB / 367.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.008209, allocations: 0 / 367.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002331/0.008442, allocations: 164.7 kB / 367.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.008472, allocations: 55.41 kB / 367.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.008601, allocations: 258.5 kB / 368.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.008615, allocations: 29.7 kB / 368.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.008752, allocations: 318.8 kB / 368.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.008793, allocations: 79.34 kB / 368.6 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.008848, allocations: 51.36 kB / 368.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.008998, allocations: 0.504 MB / 369.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.009037, allocations: 35.97 kB / 369.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.009103, allocations: 89.77 kB / 369.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.009225, allocations: 156.3 kB / 369.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.009227, allocations: 0 / 369.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001676/0.009394, allocations: 186.1 kB / 369.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.009406, allocations: 4 kB / 369.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.009411, allocations: 0 / 369.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.009419, allocations: 4 kB / 369.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.009522, allocations: 39.98 kB / 369.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.009525, allocations: 3.938 kB / 369.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.009571, allocations: 19.89 kB / 369.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.009583, allocations: 8 kB / 369.7 MB, free: 10.8 MB / 346.7 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 (Prey_1.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Predator.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 9.357e-05/0.009676, allocations: 168.7 kB / 369.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.009706, allocations: 31.8 kB / 369.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.009742, allocations: 33.8 kB / 369.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.009744, allocations: 0 / 369.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.009746, allocations: 0 / 369.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.009751, allocations: 3.984 kB / 369.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.01011, allocations: 481.7 kB / 370.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01011, allocations: 0 / 370.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.01021, allocations: 31.92 kB / 370.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01021, allocations: 0 / 370.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.01023, allocations: 8 kB / 370.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01023, allocations: 0 / 370.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01023, allocations: 4 kB / 370.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.01046, allocations: 330.7 kB / 370.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01048, allocations: 19.8 kB / 370.7 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.0105, allocations: 12 kB / 370.8 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.01055, allocations: 0 / 370.8 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.01057, allocations: 15.97 kB / 370.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.01058, allocations: 7.938 kB / 370.8 MB, free: 9.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.202e-05/0.01065, allocations: 177.5 kB / 371 MB, free: 9.449 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01065, allocations: 0 / 371 MB, free: 9.449 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000193/0.01084, allocations: 75.62 kB / 371 MB, free: 9.375 MB / 346.7 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 8.82e-05/0.01093, allocations: 107.2 kB / 371.1 MB, free: 9.258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.01109, allocations: 112.5 kB / 371.2 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01109, allocations: 0 / 371.2 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.009e-05/0.01114, allocations: 51.59 kB / 371.3 MB, free: 9.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.01139, allocations: 43.02 kB / 371.3 MB, free: 9.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.01204, allocations: 0.6166 MB / 372 MB, free: 8.402 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.506e-05/0.0121, allocations: 95.95 kB / 372 MB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.01215, allocations: 18.02 kB / 372.1 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.792e-05/0.01224, allocations: 94.19 kB / 372.2 MB, free: 8.18 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01224, allocations: 0 / 372.2 MB, free: 8.18 MB / 346.7 MB Notification: Performance of Templates: time 0.003494/0.01573, allocations: 1.554 MB / 373.7 MB, free: 6.648 MB / 346.7 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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0544326859526336]