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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 191.5 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2001/0.2001, allocations: 29.24 MB / 336 MB, free: 11.33 MB / 270.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002011/0.002011, allocations: 68.08 kB / 470.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2972, allocations: 59.61 MB / 0.5179 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.00276/0.2999, allocations: 2.103 MB / 0.52 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005314/0.3004, allocations: 310.3 kB / 0.5203 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.3006, allocations: 14.94 kB / 0.5203 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.3008, allocations: 60.61 kB / 0.5203 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.3009, allocations: 35.94 kB / 0.5204 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3012, allocations: 162 kB / 0.5205 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.3016, allocations: 401 kB / 0.5209 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.3019, allocations: 281.8 kB / 0.5212 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.302, allocations: 160 kB / 0.5213 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3022, allocations: 191.7 kB / 0.5215 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/0.3023, allocations: 47.62 kB / 0.5216 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.972e-05/0.3023, allocations: 45.31 kB / 0.5216 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.3024, allocations: 98.19 kB / 0.5217 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3025, allocations: 219.4 kB / 0.5219 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.3029, allocations: 441.2 kB / 0.5223 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3029, allocations: 0.6562 kB / 0.5223 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3029, allocations: 3.938 kB / 0.5223 GB, free: 7.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.3029, allocations: 1.156 kB / 0.5223 GB, free: 7.086 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.0008548/0.3038, allocations: 0.651 MB / 0.523 GB, free: 6.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3038, allocations: 9.125 kB / 0.523 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.731e-05/0.3039, allocations: 63.3 kB / 0.523 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.3043, allocations: 262.8 kB / 0.5233 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.3043, allocations: 46.72 kB / 0.5233 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/0.3044, allocations: 52.05 kB / 0.5234 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007216/0.3051, allocations: 493.5 kB / 0.5239 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.3051, allocations: 2.203 kB / 0.5239 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.3052, allocations: 25.38 kB / 0.5239 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.3052, allocations: 12.44 kB / 0.5239 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.3057, allocations: 283.7 kB / 0.5242 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.3074, allocations: 1.56 MB / 0.5257 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.3078, allocations: 179.8 kB / 0.5259 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3079, allocations: 80.17 kB / 0.5259 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3079, allocations: 2.344 kB / 0.5259 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3079, allocations: 44.36 kB / 0.526 GB, free: 4.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.3079, allocations: 0 / 0.526 GB, free: 4.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004494/0.3084, allocations: 252.8 kB / 0.5262 GB, free: 4.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.3084, allocations: 54.53 kB / 0.5263 GB, free: 4.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.3086, allocations: 254.2 kB / 0.5265 GB, free: 4.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3087, allocations: 31.56 kB / 0.5265 GB, free: 4.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3088, allocations: 267.4 kB / 0.5268 GB, free: 4.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.3088, allocations: 73.95 kB / 0.5269 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.3089, allocations: 51.12 kB / 0.5269 GB, free: 3.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.3089, allocations: 340.7 kB / 0.5272 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.309, allocations: 61.22 kB / 0.5273 GB, free: 3.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3092, allocations: 118.5 kB / 0.5274 GB, free: 3.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.3094, allocations: 193.2 kB / 0.5276 GB, free: 3.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3094, allocations: 0 / 0.5276 GB, free: 3.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003068/0.3097, allocations: 250.5 kB / 0.5278 GB, free: 3.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3097, allocations: 5.938 kB / 0.5278 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3097, allocations: 2.25 kB / 0.5278 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3098, allocations: 3.219 kB / 0.5278 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3099, allocations: 46.09 kB / 0.5279 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.31, allocations: 3.297 kB / 0.5279 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.401e-05/0.31, allocations: 30.38 kB / 0.5279 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.3101, allocations: 7.688 kB / 0.5279 GB, free: 3.199 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.0001116/0.3102, allocations: 163.2 kB / 0.5281 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.3102, allocations: 30.78 kB / 0.5281 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.3103, allocations: 32.47 kB / 0.5281 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3103, allocations: 6.219 kB / 0.5282 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3103, allocations: 0.7969 kB / 0.5282 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3103, allocations: 5.688 kB / 0.5282 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.3109, allocations: 0.6311 MB / 0.5288 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.311, allocations: 0 / 0.5288 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.3111, allocations: 36.38 kB / 0.5288 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3112, allocations: 1.703 kB / 0.5288 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3112, allocations: 5.531 kB / 0.5288 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3112, allocations: 4.938 kB / 0.5288 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3112, allocations: 1.203 kB / 0.5288 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.3116, allocations: 368.5 kB / 0.5292 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.3117, allocations: 31.97 kB / 0.5292 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3117, allocations: 3.172 kB / 0.5292 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3118, allocations: 9.062 kB / 0.5292 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.3118, allocations: 13.66 kB / 0.5292 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3119, allocations: 8.375 kB / 0.5292 GB, free: 2.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.312, allocations: 183 kB / 0.5294 GB, free: 2.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.312, allocations: 0 / 0.5294 GB, free: 2.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.3123, allocations: 82.47 kB / 0.5295 GB, free: 2.145 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 7.716e-05/0.3124, allocations: 95.8 kB / 0.5296 GB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.3127, allocations: 160.8 kB / 0.5297 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3127, allocations: 4.375 kB / 0.5297 GB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3128, allocations: 83.62 kB / 0.5298 GB, free: 1.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3131, allocations: 38.58 kB / 0.5299 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009843/0.3141, allocations: 0.6514 MB / 0.5305 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.3144, allocations: 0.8117 MB / 0.5313 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.214e-05/0.3144, allocations: 22.45 kB / 0.5313 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.3145, allocations: 21.45 kB / 0.5313 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3145, allocations: 3.938 kB / 0.5313 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of Templates: time 0.006044/0.3205, allocations: 1.885 MB / 0.5332 GB, free: 0.6094 MB / 382.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.675166420871392] Failed to read output from testmodel.py, exit status != 0: 0.3286529721226543 0.343660395 0.037771621000000005 Calling exit ...