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.00119/0.00119, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001173/0.001173, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 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.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.1159/0.1159, allocations: 21.81 MB / 282.1 MB, free: 7.262 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 2.084e-06/2.084e-06, allocations: 0 / 358.8 MB, free: 5.453 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/2.047e-05, allocations: 2.312 kB / 358.8 MB, free: 5.449 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002087/0.002108, allocations: 1.874 MB / 360.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005085/0.002616, allocations: 311 kB / 360.9 MB, free: 3.266 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.002774, allocations: 7.938 kB / 361 MB, free: 3.258 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.003011, allocations: 71.23 kB / 361 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.33e-05/0.003095, allocations: 35.5 kB / 361.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.003316, allocations: 151.8 kB / 361.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.003605, allocations: 404.4 kB / 361.6 MB, free: 2.609 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.0039, allocations: 262.8 kB / 361.9 MB, free: 2.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.004045, allocations: 231.5 kB / 362.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.004144, allocations: 123.5 kB / 362.2 MB, free: 1.992 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.004188, allocations: 48 kB / 362.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.012e-05/0.004218, allocations: 47.94 kB / 362.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.004269, allocations: 103.6 kB / 362.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.411e-05/0.004343, allocations: 127.6 kB / 362.5 MB, free: 1.672 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.004577, allocations: 302.5 kB / 362.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004579, allocations: 0 / 362.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.00458, allocations: 0 / 362.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004584, allocations: 0 / 362.8 MB, free: 1.375 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.0006377/0.005222, allocations: 0.7457 MB / 363.6 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.005256, allocations: 8.031 kB / 363.6 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.005346, allocations: 96.61 kB / 363.7 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.005611, allocations: 288.5 kB / 363.9 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.005636, allocations: 37.69 kB / 364 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.005684, allocations: 56.38 kB / 364 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.006086, allocations: 419.4 kB / 364.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.006098, allocations: 192 / 364.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.006123, allocations: 24.38 kB / 364.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.006136, allocations: 12.38 kB / 364.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.006356, allocations: 183.6 kB / 364.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.007531, allocations: 1.725 MB / 366.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.007765, allocations: 147.1 kB / 366.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.007832, allocations: 51.66 kB / 366.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.007845, allocations: 7.984 kB / 366.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.007866, allocations: 37.39 kB / 366.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.143e-06/0.007867, allocations: 0 / 366.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002731/0.008141, allocations: 176.9 kB / 366.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.008169, allocations: 59.34 kB / 366.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.008314, allocations: 262.6 kB / 367.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.00833, allocations: 37.7 kB / 367.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.008447, allocations: 310.8 kB / 367.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.008484, allocations: 75.38 kB / 367.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.008535, allocations: 51.36 kB / 367.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.008648, allocations: 0.5001 MB / 368.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.008705, allocations: 39.97 kB / 368.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.008785, allocations: 101.8 kB / 368.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.008932, allocations: 172.3 kB / 368.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008934, allocations: 0 / 368.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001981/0.009133, allocations: 190.3 kB / 368.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.009145, allocations: 4 kB / 368.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.00915, allocations: 4 kB / 368.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.009162, allocations: 0 / 368.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.009265, allocations: 48.11 kB / 368.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.00927, allocations: 0 / 368.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.009315, allocations: 19.89 kB / 368.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.009326, allocations: 12 kB / 368.7 MB, free: 11.2 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 (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 8.559e-05/0.009412, allocations: 172.5 kB / 368.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.009441, allocations: 31.78 kB / 368.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.009473, allocations: 25.81 kB / 368.9 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.009476, allocations: 4 kB / 368.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.009479, allocations: 0 / 368.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.009483, allocations: 3.984 kB / 368.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.009882, allocations: 0.5401 MB / 369.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.009883, allocations: 4 kB / 369.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.009991, allocations: 35.92 kB / 369.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.009993, allocations: 0 / 369.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.01001, allocations: 4 kB / 369.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01001, allocations: 4 kB / 369.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01001, allocations: 0 / 369.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.01027, allocations: 338.7 kB / 369.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.01028, allocations: 23.8 kB / 369.8 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.0103, allocations: 4 kB / 369.8 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.66e-05/0.01034, allocations: 8 kB / 369.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.01037, allocations: 19.97 kB / 369.9 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.01037, allocations: 4 kB / 369.9 MB, free: 9.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.822e-05/0.01045, allocations: 181.5 kB / 370 MB, free: 9.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01045, allocations: 0 / 370 MB, free: 9.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.01065, allocations: 83.56 kB / 370.1 MB, free: 9.668 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 7.099e-05/0.01072, allocations: 95.19 kB / 370.2 MB, free: 9.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.0109, allocations: 128.4 kB / 370.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.0109, allocations: 384 / 370.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/0.01098, allocations: 71.59 kB / 370.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.01128, allocations: 28.72 kB / 370.4 MB, free: 9.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.0119, allocations: 0.6127 MB / 371.1 MB, free: 8.684 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.44e-05/0.01195, allocations: 103.9 kB / 371.2 MB, free: 8.562 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.012, allocations: 13.64 kB / 371.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.01204, allocations: 16.5 kB / 371.2 MB, free: 8.535 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01204, allocations: 0 / 371.2 MB, free: 8.535 MB / 346.7 MB Notification: Performance of Templates: time 0.00334/0.01538, allocations: 1.409 MB / 372.6 MB, free: 7.148 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.030425453092903]