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.001215/0.001215, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001376/0.001376, allocations: 212.2 kB / 23.01 MB, free: 4.566 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.338/1.338, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.1779/0.1779, allocations: 29.23 MB / 342.4 MB, free: 5.797 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.002009/0.002009, allocations: 63.91 kB / 479.6 MB, free: 72 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3111, allocations: 60.8 MB / 0.5277 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003623/0.3147, allocations: 2.097 MB / 0.5298 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000655/0.3153, allocations: 309.6 kB / 0.5301 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.3155, allocations: 14.41 kB / 0.5301 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.3157, allocations: 65.98 kB / 0.5302 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.595e-05/0.3158, allocations: 33.66 kB / 0.5302 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.3162, allocations: 166.3 kB / 0.5304 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004036/0.3166, allocations: 390 kB / 0.5307 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/0.3169, allocations: 279.7 kB / 0.531 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.317, allocations: 162.8 kB / 0.5312 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.3172, allocations: 190.3 kB / 0.5313 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.3172, allocations: 47.78 kB / 0.5314 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.496e-05/0.3173, allocations: 44.66 kB / 0.5314 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.3173, allocations: 103 kB / 0.5315 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3175, allocations: 205.4 kB / 0.5317 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.3179, allocations: 441.5 kB / 0.5321 GB, free: 5.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3179, allocations: 0 / 0.5321 GB, free: 5.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3179, allocations: 1.312 kB / 0.5321 GB, free: 5.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.3179, allocations: 0 / 0.5321 GB, free: 5.312 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.0007868/0.3187, allocations: 0.6499 MB / 0.5328 GB, free: 4.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3187, allocations: 14 kB / 0.5328 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.3188, allocations: 55.11 kB / 0.5328 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.3192, allocations: 267 kB / 0.5331 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.3192, allocations: 43.56 kB / 0.5331 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.89e-05/0.3193, allocations: 51.19 kB / 0.5332 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.3199, allocations: 492.9 kB / 0.5337 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3199, allocations: 1.5 kB / 0.5337 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.3199, allocations: 25.03 kB / 0.5337 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3199, allocations: 18.23 kB / 0.5337 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.3203, allocations: 279.1 kB / 0.534 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.3218, allocations: 1.566 MB / 0.5355 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.3222, allocations: 191.5 kB / 0.5357 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.3223, allocations: 83.44 kB / 0.5358 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3223, allocations: 4.344 kB / 0.5358 GB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.3223, allocations: 34.92 kB / 0.5358 GB, free: 2.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.3223, allocations: 0 / 0.5358 GB, free: 2.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004196/0.3227, allocations: 253.2 kB / 0.536 GB, free: 2.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.3228, allocations: 54.25 kB / 0.5361 GB, free: 2.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.323, allocations: 262.7 kB / 0.5363 GB, free: 2.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.323, allocations: 30.89 kB / 0.5364 GB, free: 2.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.3231, allocations: 266.8 kB / 0.5366 GB, free: 2.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.3232, allocations: 77.56 kB / 0.5367 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.3232, allocations: 47.62 kB / 0.5367 GB, free: 2.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.3233, allocations: 340.3 kB / 0.5371 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/0.3234, allocations: 62.61 kB / 0.5371 GB, free: 1.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3235, allocations: 113.2 kB / 0.5372 GB, free: 1.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.3237, allocations: 197.5 kB / 0.5374 GB, free: 1.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3237, allocations: 0 / 0.5374 GB, free: 1.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003083/0.324, allocations: 249.4 kB / 0.5377 GB, free: 1.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3241, allocations: 6.875 kB / 0.5377 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3241, allocations: 2.125 kB / 0.5377 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3241, allocations: 2.688 kB / 0.5377 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.3243, allocations: 46.45 kB / 0.5377 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.3243, allocations: 3.203 kB / 0.5377 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.3244, allocations: 30.22 kB / 0.5377 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.3244, allocations: 10.91 kB / 0.5378 GB, free: 1.406 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.0001181/0.3245, allocations: 155.9 kB / 0.5379 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.3245, allocations: 27.36 kB / 0.5379 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.3246, allocations: 31.52 kB / 0.538 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3246, allocations: 3 kB / 0.538 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3246, allocations: 0.7969 kB / 0.538 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3246, allocations: 4.547 kB / 0.538 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000673/0.3253, allocations: 0.6345 MB / 0.5386 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3253, allocations: 1.219 kB / 0.5386 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.3255, allocations: 32.86 kB / 0.5386 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3255, allocations: 5.062 kB / 0.5386 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3255, allocations: 5.406 kB / 0.5386 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3255, allocations: 5 kB / 0.5386 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3255, allocations: 1.562 kB / 0.5386 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.3258, allocations: 366 kB / 0.539 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.3259, allocations: 27.41 kB / 0.539 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.3259, allocations: 5.281 kB / 0.539 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.326, allocations: 9.281 kB / 0.539 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.326, allocations: 12.3 kB / 0.539 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.326, allocations: 8.156 kB / 0.539 GB, free: 492 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.3262, allocations: 182.9 kB / 0.5392 GB, free: 364 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3262, allocations: 0 / 0.5392 GB, free: 364 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.3265, allocations: 86.31 kB / 0.5393 GB, free: 324 kB / 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 7.652e-05/0.3266, allocations: 98.12 kB / 0.5394 GB, free: 224 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.3268, allocations: 161.5 kB / 0.5395 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3269, allocations: 4.125 kB / 0.5396 GB, free: 148 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.238e-05/0.3269, allocations: 79.91 kB / 0.5396 GB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.3273, allocations: 33.7 kB / 0.5397 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.3283, allocations: 0.6738 MB / 0.5403 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.3287, allocations: 0.8112 MB / 0.5411 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.3288, allocations: 25.22 kB / 0.5411 GB, free: 14.85 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3288, allocations: 0 / 0.5411 GB, free: 14.85 MB / 398.1 MB Notification: Performance of Templates: time 0.00569/0.3345, allocations: 3.394 MB / 0.5445 GB, free: 13.06 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: 6.642354554031044] Failed to read output from testmodel.py, exit status != 0: 0.34280564496293664 0.355977176 0.035322532000000004 Calling exit ...