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.00183/0.00183, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001683/0.001683, allocations: 210.6 kB / 22.24 MB, free: 4.855 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 8.07 MB / 206.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.1869/0.1869, allocations: 29.23 MB / 341.7 MB, free: 5.684 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: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.02 kB / 478.8 MB, free: 0 / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3198, allocations: 60.79 MB / 0.5269 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.0029/0.3227, allocations: 1.824 MB / 0.5287 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006023/0.3233, allocations: 302.8 kB / 0.529 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.3234, allocations: 10.88 kB / 0.529 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.3236, allocations: 70.28 kB / 0.5291 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.3237, allocations: 28.97 kB / 0.5291 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.324, allocations: 158.3 kB / 0.5293 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.3244, allocations: 401.8 kB / 0.5296 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.3248, allocations: 260.2 kB / 0.5299 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.325, allocations: 156.8 kB / 0.53 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3251, allocations: 162.1 kB / 0.5302 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.3252, allocations: 44.53 kB / 0.5302 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.749e-05/0.3252, allocations: 44.88 kB / 0.5303 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.3253, allocations: 102.4 kB / 0.5304 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.3254, allocations: 166.2 kB / 0.5305 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.3259, allocations: 446.9 kB / 0.531 GB, free: 5.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3259, allocations: 1.438 kB / 0.531 GB, free: 5.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3259, allocations: 0 / 0.531 GB, free: 5.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.3259, allocations: 4 kB / 0.531 GB, free: 5.609 MB / 382.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.0008967/0.3268, allocations: 0.6439 MB / 0.5316 GB, free: 5.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3269, allocations: 9 kB / 0.5316 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.327, allocations: 55.48 kB / 0.5317 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.3274, allocations: 271 kB / 0.5319 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.3274, allocations: 41.84 kB / 0.532 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.3275, allocations: 57.14 kB / 0.532 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.3282, allocations: 491.2 kB / 0.5325 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3282, allocations: 4.125 kB / 0.5325 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.3282, allocations: 26.16 kB / 0.5325 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.3282, allocations: 12.66 kB / 0.5325 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.3287, allocations: 276.1 kB / 0.5328 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.3303, allocations: 1.4 MB / 0.5342 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.3306, allocations: 179.5 kB / 0.5343 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3308, allocations: 81.33 kB / 0.5344 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.3308, allocations: 1.188 kB / 0.5344 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.3308, allocations: 37.83 kB / 0.5344 GB, free: 3.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.3308, allocations: 0 / 0.5344 GB, free: 3.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004003/0.3312, allocations: 245.3 kB / 0.5347 GB, free: 3.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.3312, allocations: 54.58 kB / 0.5347 GB, free: 3.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.3314, allocations: 212.3 kB / 0.5349 GB, free: 2.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3314, allocations: 31.61 kB / 0.535 GB, free: 2.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3315, allocations: 268.4 kB / 0.5352 GB, free: 2.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.3315, allocations: 78.73 kB / 0.5353 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.3316, allocations: 46.06 kB / 0.5353 GB, free: 2.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.3317, allocations: 344.3 kB / 0.5357 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.753e-05/0.3318, allocations: 64.64 kB / 0.5357 GB, free: 2.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3319, allocations: 111.9 kB / 0.5358 GB, free: 2.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.3321, allocations: 192.3 kB / 0.536 GB, free: 1.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3321, allocations: 1.344 kB / 0.536 GB, free: 1.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002975/0.3324, allocations: 246.5 kB / 0.5362 GB, free: 1.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3324, allocations: 6.875 kB / 0.5363 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3324, allocations: 1.375 kB / 0.5363 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3324, allocations: 7.547 kB / 0.5363 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3326, allocations: 46.25 kB / 0.5363 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3326, allocations: 7.531 kB / 0.5363 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.3327, allocations: 19.97 kB / 0.5363 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.3327, allocations: 12.25 kB / 0.5363 GB, free: 1.82 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.0001128/0.3328, allocations: 151.1 kB / 0.5365 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.3329, allocations: 22.05 kB / 0.5365 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.3329, allocations: 28.61 kB / 0.5365 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3329, allocations: 2.75 kB / 0.5365 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3329, allocations: 0 / 0.5365 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3329, allocations: 2.781 kB / 0.5365 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.3335, allocations: 0.5489 MB / 0.5371 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3335, allocations: 0 / 0.5371 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.3337, allocations: 37.59 kB / 0.5371 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3337, allocations: 0 / 0.5371 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3337, allocations: 7.281 kB / 0.5371 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3337, allocations: 0 / 0.5371 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3337, allocations: 1.125 kB / 0.5371 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.3342, allocations: 373.6 kB / 0.5375 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.3342, allocations: 22.75 kB / 0.5375 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3342, allocations: 1.812 kB / 0.5375 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.526e-05/0.3343, allocations: 5.641 kB / 0.5375 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.3343, allocations: 17.78 kB / 0.5375 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3344, allocations: 8.203 kB / 0.5375 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3345, allocations: 151.8 kB / 0.5377 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3345, allocations: 0 / 0.5377 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.3348, allocations: 78.75 kB / 0.5378 GB, free: 0.8555 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 8.22e-05/0.3349, allocations: 95.64 kB / 0.5378 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.3352, allocations: 164.4 kB / 0.538 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3352, allocations: 1.438 kB / 0.538 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3353, allocations: 85.92 kB / 0.5381 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3356, allocations: 24.08 kB / 0.5381 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008828/0.3365, allocations: 0.6436 MB / 0.5387 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.3367, allocations: 212.8 kB / 0.5389 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.138e-05/0.3367, allocations: 21.92 kB / 0.539 GB, free: 80 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.3368, allocations: 16.75 kB / 0.539 GB, free: 72 kB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3368, allocations: 0.875 kB / 0.539 GB, free: 72 kB / 382.1 MB Notification: Performance of Templates: time 0.004814/0.3416, allocations: 1.669 MB / 0.5406 GB, free: 15.2 MB / 398.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.659670257940888] Failed to read output from testmodel.py, exit status != 0: 0.35058364644646645 0.363909965 0.035156451000000005 Calling exit ...