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.0009587/0.0009587, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009556/0.0009556, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9493/0.9493, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.1221/0.1221, allocations: 21.81 MB / 282.1 MB, free: 7.051 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.074e-06/2.074e-06, allocations: 0 / 306 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/2.042e-05, allocations: 6.156 kB / 306 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002461/0.002481, allocations: 1.904 MB / 307.9 MB, free: 8.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.003315, allocations: 328.5 kB / 308.2 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.003519, allocations: 11.94 kB / 308.2 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.003714, allocations: 67.75 kB / 308.3 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.661e-05/0.003811, allocations: 36.22 kB / 308.3 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.004111, allocations: 162.9 kB / 308.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.004441, allocations: 400.4 kB / 308.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.004735, allocations: 266.8 kB / 309.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.004902, allocations: 227.5 kB / 309.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.005018, allocations: 127.5 kB / 309.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.005062, allocations: 44 kB / 309.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.374e-05/0.005096, allocations: 44 kB / 309.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.00515, allocations: 107.6 kB / 309.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.261e-05/0.005222, allocations: 131.6 kB / 309.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.005485, allocations: 314.4 kB / 310.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005487, allocations: 0 / 310.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005488, allocations: 0 / 310.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005493, allocations: 0 / 310.1 MB, free: 5.918 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.0005263/0.006019, allocations: 0.6178 MB / 310.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.006048, allocations: 16.03 kB / 310.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.211e-05/0.00612, allocations: 72.89 kB / 310.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.006353, allocations: 222 kB / 311 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.00638, allocations: 45.62 kB / 311.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.006423, allocations: 56.33 kB / 311.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.00674, allocations: 387.5 kB / 311.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.006756, allocations: 4.125 kB / 311.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.006781, allocations: 20.38 kB / 311.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.006797, allocations: 20.38 kB / 311.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.00693, allocations: 117 kB / 311.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.007954, allocations: 1.211 MB / 312.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.008142, allocations: 117.7 kB / 313 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.00818, allocations: 41.12 kB / 313 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.008192, allocations: 8 kB / 313 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.008214, allocations: 38.52 kB / 313.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.008216, allocations: 7.875 kB / 313.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001773/0.008393, allocations: 117.6 kB / 313.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.008422, allocations: 55.41 kB / 313.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.00853, allocations: 207.3 kB / 313.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.008542, allocations: 29.7 kB / 313.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.008634, allocations: 248.1 kB / 313.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.008669, allocations: 83.34 kB / 313.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.008716, allocations: 45.66 kB / 313.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.008793, allocations: 334.8 kB / 314.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/0.008823, allocations: 27.98 kB / 314.2 MB, free: 1.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.008877, allocations: 78.66 kB / 314.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.008983, allocations: 117.9 kB / 314.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.008985, allocations: 0 / 314.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001409/0.009125, allocations: 148.1 kB / 314.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.009141, allocations: 11.98 kB / 314.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.009146, allocations: 0 / 314.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.009159, allocations: 4 kB / 314.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.009264, allocations: 47.92 kB / 314.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.009268, allocations: 4 kB / 314.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.009311, allocations: 15.89 kB / 314.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.009321, allocations: 8 kB / 314.6 MB, free: 1.148 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 8.025e-05/0.009401, allocations: 129.9 kB / 314.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.009428, allocations: 23.92 kB / 314.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.009462, allocations: 29.8 kB / 314.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.009466, allocations: 4 kB / 314.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.009468, allocations: 0 / 314.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.009471, allocations: 0 / 314.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.009795, allocations: 374.4 kB / 315.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.009797, allocations: 0 / 315.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-05/0.009891, allocations: 31.98 kB / 315.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.009893, allocations: 0 / 315.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.009904, allocations: 4 kB / 315.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.009906, allocations: 0 / 315.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.009908, allocations: 8 kB / 315.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.01008, allocations: 242.4 kB / 315.5 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.0101, allocations: 27.78 kB / 315.5 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.01011, allocations: 7.938 kB / 315.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.01015, allocations: 0 / 315.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.01017, allocations: 11.98 kB / 315.5 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.01018, allocations: 4 kB / 315.5 MB, free: 224 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.303e-05/0.01022, allocations: 67.16 kB / 315.6 MB, free: 156 kB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01022, allocations: 0 / 315.6 MB, free: 156 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000176/0.0104, allocations: 79.56 kB / 315.7 MB, free: 76 kB / 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 8.312e-05/0.01048, allocations: 80.42 kB / 315.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.0106, allocations: 105.2 kB / 315.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.01061, allocations: 4 kB / 315.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.01065, allocations: 44.78 kB / 315.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.01083, allocations: 34.75 kB / 315.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.01142, allocations: 0.6068 MB / 316.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.525e-05/0.01147, allocations: 103.8 kB / 316.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.099e-05/0.01153, allocations: 26 kB / 316.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.01161, allocations: 71.38 kB / 316.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01161, allocations: 0 / 316.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of Templates: time 0.003578/0.01519, allocations: 1.505 MB / 318.2 MB, free: 13.46 MB / 298.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.659306929912418]