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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 190.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.334/0.334, allocations: 28.8 MB / 318.8 MB, free: 5.953 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 63.89 kB / 385.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4051, allocations: 56.4 MB / 442.3 MB, free: 39.8 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003209/0.4084, allocations: 2.132 MB / 444.5 MB, free: 38.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000578/0.409, allocations: 301.4 kB / 444.8 MB, free: 38.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.4092, allocations: 9.781 kB / 444.8 MB, free: 38.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.4094, allocations: 43.67 kB / 444.8 MB, free: 38.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.4095, allocations: 14.47 kB / 444.8 MB, free: 38.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.4098, allocations: 139.4 kB / 445 MB, free: 38.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.4102, allocations: 370 kB / 445.3 MB, free: 38.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.4106, allocations: 338.5 kB / 445.7 MB, free: 38.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.4107, allocations: 138.6 kB / 445.8 MB, free: 38.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.4109, allocations: 184 kB / 446 MB, free: 38.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.4109, allocations: 26.5 kB / 446 MB, free: 38.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.244e-05/0.411, allocations: 28.84 kB / 446 MB, free: 38.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.4111, allocations: 84.73 kB / 446.1 MB, free: 38.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.4112, allocations: 195 kB / 446.3 MB, free: 38.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.4115, allocations: 381.2 kB / 446.7 MB, free: 38.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.4115, allocations: 0 / 446.7 MB, free: 38.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4115, allocations: 3.938 kB / 446.7 MB, free: 38.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4115, allocations: 0 / 446.7 MB, free: 38.03 MB / 366.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.0008766/0.4124, allocations: 0.721 MB / 447.4 MB, free: 37.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.4124, allocations: 8.844 kB / 447.4 MB, free: 37.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.828e-05/0.4125, allocations: 54.59 kB / 447.5 MB, free: 37.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.4128, allocations: 318.4 kB / 447.8 MB, free: 37.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.4129, allocations: 38.06 kB / 447.8 MB, free: 37.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.4129, allocations: 60.72 kB / 447.9 MB, free: 37.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.4135, allocations: 488.1 kB / 448.3 MB, free: 37.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4136, allocations: 192 / 448.3 MB, free: 37.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.4136, allocations: 26.62 kB / 448.4 MB, free: 37.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.4136, allocations: 11.47 kB / 448.4 MB, free: 37.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003825/0.414, allocations: 282.7 kB / 448.7 MB, free: 37.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.4156, allocations: 1.644 MB / 450.3 MB, free: 35.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.416, allocations: 190.2 kB / 450.5 MB, free: 35.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.4161, allocations: 84 kB / 450.6 MB, free: 35.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.4161, allocations: 2.875 kB / 450.6 MB, free: 35.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.4162, allocations: 38.5 kB / 450.6 MB, free: 35.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.4162, allocations: 0 / 450.6 MB, free: 35.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004155/0.4166, allocations: 247 kB / 450.8 MB, free: 35.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.4166, allocations: 57.84 kB / 450.9 MB, free: 35.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.4168, allocations: 262.3 kB / 451.2 MB, free: 35.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.4169, allocations: 29.7 kB / 451.2 MB, free: 35.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.417, allocations: 262 kB / 451.4 MB, free: 35.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.4171, allocations: 66.17 kB / 451.5 MB, free: 35.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.4171, allocations: 50.2 kB / 451.6 MB, free: 35.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.4172, allocations: 341.7 kB / 451.9 MB, free: 34.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.4173, allocations: 63.09 kB / 452 MB, free: 34.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.4174, allocations: 128.5 kB / 452.1 MB, free: 34.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.4177, allocations: 194.2 kB / 452.3 MB, free: 34.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4177, allocations: 3.938 kB / 452.3 MB, free: 34.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000304/0.418, allocations: 250 kB / 452.5 MB, free: 34.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.418, allocations: 5.5 kB / 452.5 MB, free: 34.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.418, allocations: 6.938 kB / 452.5 MB, free: 34.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.418, allocations: 2.312 kB / 452.5 MB, free: 34.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.4182, allocations: 41.12 kB / 452.6 MB, free: 34.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.4182, allocations: 2.969 kB / 452.6 MB, free: 34.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.994e-05/0.4183, allocations: 36.5 kB / 452.6 MB, free: 34.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.4184, allocations: 9.719 kB / 452.6 MB, free: 34.35 MB / 366.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.0001342/0.4185, allocations: 150.4 kB / 452.8 MB, free: 34.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.4185, allocations: 23 kB / 452.8 MB, free: 34.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.4186, allocations: 31.62 kB / 452.8 MB, free: 34.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4186, allocations: 2.75 kB / 452.8 MB, free: 34.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4186, allocations: 0 / 452.8 MB, free: 34.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4186, allocations: 3.938 kB / 452.8 MB, free: 34.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/0.4193, allocations: 0.6747 MB / 453.5 MB, free: 33.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4193, allocations: 0 / 453.5 MB, free: 33.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.4194, allocations: 32.36 kB / 453.5 MB, free: 33.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4195, allocations: 0 / 453.5 MB, free: 33.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.4195, allocations: 7.031 kB / 453.5 MB, free: 33.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4195, allocations: 3.938 kB / 453.5 MB, free: 33.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4195, allocations: 0 / 453.5 MB, free: 33.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.4199, allocations: 378.1 kB / 453.9 MB, free: 33.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.4199, allocations: 103.1 kB / 454 MB, free: 33.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.42, allocations: 4 kB / 454 MB, free: 33.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.4201, allocations: 7 kB / 454 MB, free: 33.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.4201, allocations: 13.81 kB / 454 MB, free: 33.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4201, allocations: 5.781 kB / 454 MB, free: 33.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.4202, allocations: 183 kB / 454.2 MB, free: 33.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4203, allocations: 0 / 454.2 MB, free: 33.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.4205, allocations: 78.47 kB / 454.3 MB, free: 33.19 MB / 366.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.782e-05/0.4206, allocations: 108.4 kB / 454.4 MB, free: 33.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.4209, allocations: 164.5 kB / 454.6 MB, free: 33.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4209, allocations: 0 / 454.6 MB, free: 33.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.314e-05/0.421, allocations: 84.16 kB / 454.6 MB, free: 33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.4214, allocations: 34.44 kB / 454.7 MB, free: 32.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.4225, allocations: 0.8423 MB / 455.5 MB, free: 32.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.4227, allocations: 0.8058 MB / 456.3 MB, free: 31.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.089e-05/0.4228, allocations: 27.12 kB / 456.4 MB, free: 31.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.4228, allocations: 21.09 kB / 456.4 MB, free: 31.67 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4229, allocations: 0 / 456.4 MB, free: 31.67 MB / 366.1 MB Notification: Performance of Templates: time 0.004415/0.4273, allocations: 1.658 MB / 458 MB, free: 31.5 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile (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 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1)