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.000659/0.000659, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008588/0.001518, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0006808/0.0006808, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008822/0.001563, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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 0.8915/0.8915, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09224/0.9837, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.1237/0.1237, allocations: 21.81 MB / 265.8 MB, free: 9 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01367/0.1374, allocations: 7.836 MB / 273.6 MB, free: 1.141 MB / 266.7 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.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.354e-06/2.354e-06, allocations: 0 / 274.9 MB, free: 1.383 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.668e-05, allocations: 3.438 kB / 274.9 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002515/0.002532, allocations: 1.909 MB / 276.8 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008179/0.00335, allocations: 351.3 kB / 277.1 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.003528, allocations: 11.5 kB / 277.1 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.003664, allocations: 64.52 kB / 277.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.54e-05/0.00374, allocations: 32.98 kB / 277.2 MB, free: 476 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.003986, allocations: 162.1 kB / 277.4 MB, free: 380 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.004374, allocations: 380.9 kB / 277.8 MB, free: 188 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.004705, allocations: 272.8 kB / 278 MB, free: 20 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.005003, allocations: 255.5 kB / 278.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.005164, allocations: 129 kB / 278.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.005229, allocations: 44.88 kB / 278.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.927e-05/0.005268, allocations: 44.06 kB / 278.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.005332, allocations: 78.25 kB / 278.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.218e-05/0.005424, allocations: 102.2 kB / 278.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.005738, allocations: 271.2 kB / 278.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.548e-05/0.005754, allocations: 1.688 kB / 278.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.005755, allocations: 1.875 kB / 278.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.005779, allocations: 0 / 278.9 MB, free: 15.68 MB / 282.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.0008378/0.006616, allocations: 0.7135 MB / 279.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.00665, allocations: 9.406 kB / 279.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.006758, allocations: 82.84 kB / 279.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.007025, allocations: 219.9 kB / 279.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.007056, allocations: 38.41 kB / 280 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.007108, allocations: 56.94 kB / 280 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.007518, allocations: 383.5 kB / 280.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.007531, allocations: 4.188 kB / 280.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.007553, allocations: 22.69 kB / 280.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.007565, allocations: 13.22 kB / 280.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.007734, allocations: 125.2 kB / 280.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.008929, allocations: 1.209 MB / 281.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.009151, allocations: 122.5 kB / 281.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.009199, allocations: 43.84 kB / 281.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.009211, allocations: 3.156 kB / 281.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.009233, allocations: 33.52 kB / 282 MB, free: 13.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.009234, allocations: 0 / 282 MB, free: 13.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002086/0.009443, allocations: 129.2 kB / 282.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.009475, allocations: 53.97 kB / 282.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.009617, allocations: 203.2 kB / 282.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.009631, allocations: 31.08 kB / 282.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.009764, allocations: 254.8 kB / 282.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.009808, allocations: 72.97 kB / 282.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.009868, allocations: 49.62 kB / 282.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.009969, allocations: 340 kB / 283.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.01, allocations: 21.89 kB / 283.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.01007, allocations: 75.06 kB / 283.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.0102, allocations: 127 kB / 283.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.0102, allocations: 0 / 283.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001745/0.01037, allocations: 142.9 kB / 283.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.01039, allocations: 6.594 kB / 283.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.0104, allocations: 8.625 kB / 283.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.01041, allocations: 2.875 kB / 283.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.01053, allocations: 50.7 kB / 283.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.01054, allocations: 2.562 kB / 283.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.01058, allocations: 17.41 kB / 283.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.0106, allocations: 8.875 kB / 283.5 MB, free: 12.63 MB / 282.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 (Prey_1.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Predator.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 9.115e-05/0.01069, allocations: 127.8 kB / 283.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.01072, allocations: 19.52 kB / 283.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.01076, allocations: 29.5 kB / 283.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01076, allocations: 1.188 kB / 283.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01077, allocations: 1.219 kB / 283.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.331e-06/0.01077, allocations: 1.125 kB / 283.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.01118, allocations: 378.2 kB / 284.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01118, allocations: 0.875 kB / 284.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.0113, allocations: 37.39 kB / 284.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.01132, allocations: 18.83 kB / 284.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.01133, allocations: 5.125 kB / 284.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.01134, allocations: 9.672 kB / 284.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01134, allocations: 1.156 kB / 284.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01134, allocations: 0 / 284.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.01156, allocations: 244 kB / 284.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.01158, allocations: 6.109 kB / 284.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.65e-05/0.01163, allocations: 1.719 kB / 284.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.01165, allocations: 13.94 kB / 284.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.01166, allocations: 2.594 kB / 284.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.162e-05/0.01172, allocations: 66.31 kB / 284.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.01172, allocations: 3.938 kB / 284.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.01192, allocations: 90.14 kB / 284.6 MB, free: 11.98 MB / 282.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.853e-05/0.012, allocations: 78.06 kB / 284.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.01215, allocations: 104.6 kB / 284.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/0.01216, allocations: 3.922 kB / 284.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.01221, allocations: 51.89 kB / 284.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01242, allocations: 41.73 kB / 284.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008054/0.01322, allocations: 0.7495 MB / 285.6 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.406e-05/0.01331, allocations: 119.8 kB / 285.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.105e-05/0.01339, allocations: 15.33 kB / 285.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.01347, allocations: 75.27 kB / 285.8 MB, free: 11.24 MB / 282.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01347, allocations: 0 / 285.8 MB, free: 11.24 MB / 282.7 MB Notification: Performance of Templates: time 0.004758/0.01823, allocations: 1.532 MB / 287.3 MB, free: 10.98 MB / 282.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: 2.503556529060006]