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.000957/0.000957, allocations: 93.16 kB / 19.65 MB, free: 288 kB / 13.93 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.0008846/0.0008846, allocations: 172.9 kB / 23.02 MB, free: 1.559 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.9638/0.9638, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.1308/0.1308, allocations: 21.8 MB / 281.7 MB, free: 7.215 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 1.813e-06/1.813e-06, allocations: 0 / 358.8 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.905e-05, allocations: 2.312 kB / 358.8 MB, free: 5.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002078/0.002097, allocations: 1.884 MB / 360.6 MB, free: 3.246 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006011/0.002698, allocations: 311 kB / 360.9 MB, free: 2.941 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.002854, allocations: 4 kB / 360.9 MB, free: 2.938 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.003023, allocations: 67.25 kB / 361 MB, free: 2.871 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.003104, allocations: 31.5 kB / 361 MB, free: 2.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.00334, allocations: 167.8 kB / 361.2 MB, free: 2.676 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.003646, allocations: 400.5 kB / 361.6 MB, free: 2.285 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.003933, allocations: 258.8 kB / 361.8 MB, free: 2.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.004094, allocations: 235.4 kB / 362.1 MB, free: 1.789 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.004186, allocations: 119.5 kB / 362.2 MB, free: 1.672 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.004246, allocations: 48 kB / 362.2 MB, free: 1.625 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.054e-05/0.004277, allocations: 44 kB / 362.3 MB, free: 1.582 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.004328, allocations: 103.6 kB / 362.4 MB, free: 1.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.05e-05/0.004398, allocations: 131.6 kB / 362.5 MB, free: 1.352 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.004677, allocations: 306.5 kB / 362.8 MB, free: 1.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.00468, allocations: 0 / 362.8 MB, free: 1.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.00468, allocations: 4 kB / 362.8 MB, free: 1.047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.004685, allocations: 0 / 362.8 MB, free: 1.047 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.0005643/0.005249, allocations: 0.7379 MB / 363.6 MB, free: 276 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.005283, allocations: 8.031 kB / 363.6 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.005439, allocations: 96.61 kB / 363.7 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.005698, allocations: 284.7 kB / 363.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.005722, allocations: 41.69 kB / 364 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.005766, allocations: 52.38 kB / 364 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.006151, allocations: 423.4 kB / 364.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.006162, allocations: 192 / 364.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.006187, allocations: 24.38 kB / 364.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.006198, allocations: 12.38 kB / 364.5 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.006406, allocations: 183.6 kB / 364.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.007673, allocations: 1.721 MB / 366.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.007891, allocations: 143.1 kB / 366.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.007957, allocations: 55.66 kB / 366.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.00797, allocations: 7.984 kB / 366.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.007988, allocations: 37.39 kB / 366.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.042e-06/0.007989, allocations: 0 / 366.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002487/0.008237, allocations: 188.7 kB / 366.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.00826, allocations: 51.41 kB / 366.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.008397, allocations: 262.6 kB / 367.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.008414, allocations: 33.7 kB / 367.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.008525, allocations: 310.8 kB / 367.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.008562, allocations: 79.36 kB / 367.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.00861, allocations: 55.3 kB / 367.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.008717, allocations: 0.4962 MB / 368.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.008768, allocations: 39.97 kB / 368.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/0.008846, allocations: 105.8 kB / 368.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.008985, allocations: 168.3 kB / 368.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.008987, allocations: 0 / 368.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001864/0.009173, allocations: 189.2 kB / 368.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.009186, allocations: 4 kB / 368.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.009192, allocations: 8.188 kB / 368.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.009203, allocations: 0 / 368.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.009304, allocations: 47.92 kB / 368.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.009309, allocations: 0 / 368.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.009352, allocations: 23.88 kB / 368.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.009362, allocations: 8 kB / 368.7 MB, free: 10.88 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.664e-05/0.009449, allocations: 172.5 kB / 368.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.009727, allocations: 27.86 kB / 368.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.009755, allocations: 25.81 kB / 368.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.009759, allocations: 7.984 kB / 368.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.009763, allocations: 4 kB / 368.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.009766, allocations: 0 / 368.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.01015, allocations: 0.5362 MB / 369.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01015, allocations: 0 / 369.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.532e-05/0.01024, allocations: 39.92 kB / 369.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.01025, allocations: 0 / 369.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01026, allocations: 4 kB / 369.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.01026, allocations: 4 kB / 369.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01026, allocations: 0 / 369.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.01051, allocations: 335.3 kB / 369.8 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.01053, allocations: 23.8 kB / 369.8 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.01054, allocations: 8 kB / 369.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.01058, allocations: 8 kB / 369.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.0106, allocations: 11.97 kB / 369.8 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.01061, allocations: 4 kB / 369.9 MB, free: 9.613 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.539e-05/0.01068, allocations: 181.5 kB / 370 MB, free: 9.438 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01068, allocations: 3.938 kB / 370 MB, free: 9.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.01087, allocations: 83.56 kB / 370.1 MB, free: 9.352 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 5.613e-05/0.01092, allocations: 103.2 kB / 370.2 MB, free: 9.238 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.01108, allocations: 128.5 kB / 370.3 MB, free: 9.109 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01108, allocations: 0 / 370.3 MB, free: 9.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.01114, allocations: 63.59 kB / 370.4 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.01136, allocations: 36.59 kB / 370.4 MB, free: 9.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.01198, allocations: 0.6205 MB / 371.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.465e-05/0.01203, allocations: 99.95 kB / 371.2 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.898e-05/0.01208, allocations: 13.64 kB / 371.2 MB, free: 8.227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.01212, allocations: 24.8 kB / 371.2 MB, free: 8.203 MB / 346.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01212, allocations: 0 / 371.2 MB, free: 8.203 MB / 346.7 MB Notification: Performance of Templates: time 0.003327/0.01545, allocations: 1.445 MB / 372.6 MB, free: 6.781 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: 2.920497635845095]