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.001332/0.001332, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001452/0.001452, allocations: 208.1 kB / 22.99 MB, free: 4.957 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1923/0.1923, allocations: 29.23 MB / 342.4 MB, free: 5.57 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.002004/0.002004, allocations: 71.91 kB / 479.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3271, allocations: 60.79 MB / 0.5277 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002974/0.3301, allocations: 1.821 MB / 0.5295 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005504/0.3306, allocations: 306.9 kB / 0.5297 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3308, allocations: 10.28 kB / 0.5298 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.3309, allocations: 65.3 kB / 0.5298 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.3311, allocations: 31.38 kB / 0.5298 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.3313, allocations: 161.1 kB / 0.53 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.3317, allocations: 398.1 kB / 0.5304 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.3321, allocations: 278.9 kB / 0.5306 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3322, allocations: 157.9 kB / 0.5308 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.3324, allocations: 182.3 kB / 0.531 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.464e-05/0.3324, allocations: 49.06 kB / 0.531 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/0.3325, allocations: 44.44 kB / 0.5311 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.3326, allocations: 102.3 kB / 0.5312 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.3327, allocations: 169.1 kB / 0.5313 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.3331, allocations: 443.4 kB / 0.5317 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3331, allocations: 0 / 0.5317 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3331, allocations: 1.156 kB / 0.5317 GB, free: 5.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3331, allocations: 0.75 kB / 0.5317 GB, free: 5.508 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.0007454/0.3338, allocations: 0.6507 MB / 0.5324 GB, free: 5.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3339, allocations: 10.19 kB / 0.5324 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.3339, allocations: 54.77 kB / 0.5324 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.3343, allocations: 269.5 kB / 0.5327 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.3343, allocations: 44.3 kB / 0.5327 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.3344, allocations: 55.75 kB / 0.5328 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.335, allocations: 495.1 kB / 0.5333 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.335, allocations: 1.562 kB / 0.5333 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.3351, allocations: 25.44 kB / 0.5333 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.3351, allocations: 13.06 kB / 0.5333 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.3355, allocations: 276 kB / 0.5336 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.3369, allocations: 1.396 MB / 0.5349 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.3372, allocations: 191.9 kB / 0.5351 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3373, allocations: 80.2 kB / 0.5352 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.3374, allocations: 2.406 kB / 0.5352 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.3374, allocations: 32.42 kB / 0.5352 GB, free: 3.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.3374, allocations: 0 / 0.5352 GB, free: 3.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003735/0.3378, allocations: 248.4 kB / 0.5355 GB, free: 2.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.3378, allocations: 55.23 kB / 0.5355 GB, free: 2.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.3379, allocations: 213.4 kB / 0.5357 GB, free: 2.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3379, allocations: 30.73 kB / 0.5357 GB, free: 2.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.3381, allocations: 266.5 kB / 0.536 GB, free: 2.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.3381, allocations: 77.34 kB / 0.5361 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.3382, allocations: 54.16 kB / 0.5361 GB, free: 2.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.202e-05/0.3382, allocations: 334.9 kB / 0.5364 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.764e-05/0.3383, allocations: 61.81 kB / 0.5365 GB, free: 2.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3384, allocations: 116.4 kB / 0.5366 GB, free: 1.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.3387, allocations: 189.1 kB / 0.5368 GB, free: 1.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3387, allocations: 5.594 kB / 0.5368 GB, free: 1.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003081/0.339, allocations: 240.7 kB / 0.537 GB, free: 1.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.339, allocations: 5.438 kB / 0.537 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.339, allocations: 1.281 kB / 0.537 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.339, allocations: 4.234 kB / 0.537 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.3392, allocations: 44.78 kB / 0.5371 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3392, allocations: 7.438 kB / 0.5371 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.3393, allocations: 21.72 kB / 0.5371 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3393, allocations: 7.219 kB / 0.5371 GB, free: 1.719 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.0001134/0.3394, allocations: 158.8 kB / 0.5373 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.3394, allocations: 21.92 kB / 0.5373 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.3395, allocations: 29.7 kB / 0.5373 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3395, allocations: 1.891 kB / 0.5373 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3395, allocations: 5.312 kB / 0.5373 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3395, allocations: 1.219 kB / 0.5373 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.3401, allocations: 0.5449 MB / 0.5379 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3401, allocations: 6.109 kB / 0.5379 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.3403, allocations: 27.98 kB / 0.5379 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3403, allocations: 5.375 kB / 0.5379 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3403, allocations: 5.375 kB / 0.5379 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3403, allocations: 1.891 kB / 0.5379 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3403, allocations: 0 / 0.5379 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.3406, allocations: 367.2 kB / 0.5383 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.3407, allocations: 23.28 kB / 0.5383 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.3407, allocations: 5.375 kB / 0.5383 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.3408, allocations: 5.984 kB / 0.5383 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.3408, allocations: 18.16 kB / 0.5383 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.3408, allocations: 8.109 kB / 0.5383 GB, free: 0.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.654e-05/0.3409, allocations: 152 kB / 0.5385 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3409, allocations: 4 kB / 0.5385 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000291/0.3412, allocations: 82.25 kB / 0.5385 GB, free: 0.7383 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 6.469e-05/0.3413, allocations: 94.92 kB / 0.5386 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.3415, allocations: 163.6 kB / 0.5388 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3415, allocations: 1.125 kB / 0.5388 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3416, allocations: 79.75 kB / 0.5389 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.342, allocations: 36.28 kB / 0.5389 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.3428, allocations: 0.6326 MB / 0.5395 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.343, allocations: 212.5 kB / 0.5397 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.157e-05/0.343, allocations: 15.08 kB / 0.5397 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.3431, allocations: 17.38 kB / 0.5398 GB, free: 15.93 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3431, allocations: 0 / 0.5398 GB, free: 15.93 MB / 398.1 MB Notification: Performance of Templates: time 0.005146/0.3482, allocations: 1.748 MB / 0.5415 GB, free: 15.03 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 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.769247434043791] Failed to read output from testmodel.py, exit status != 0: 0.3569016389665194 0.37192038000000005 0.035710055000000004 Calling exit ...