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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008646/0.0008644, allocations: 86.7 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2737/0.2737, allocations: 28.83 MB / 365.3 MB, free: 42.07 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.591e-05, allocations: 7.984 kB / 430.7 MB, free: 4.418 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09394/0.09399, allocations: 57.47 MB / 488.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/0.3747, allocations: 79.25 MB / 0.5541 GB, free: 25.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001402/0.3749, allocations: 60.61 kB / 0.5541 GB, free: 25.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01179/0.3867, allocations: 5.711 MB / 0.5597 GB, free: 22.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3867, allocations: 0 / 0.5597 GB, free: 22.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.3867, allocations: 11.94 kB / 0.5597 GB, free: 22.46 MB / 394.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.0005517/0.3873, allocations: 0.6151 MB / 0.5603 GB, free: 21.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3874, allocations: 16.03 kB / 0.5603 GB, free: 21.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.3874, allocations: 51.34 kB / 0.5604 GB, free: 21.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.3877, allocations: 312.5 kB / 0.5607 GB, free: 21.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.3877, allocations: 37.94 kB / 0.5607 GB, free: 21.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.3878, allocations: 56.41 kB / 0.5608 GB, free: 21.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005671/0.3884, allocations: 480.9 kB / 0.5612 GB, free: 21.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3884, allocations: 0 / 0.5612 GB, free: 21.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.3884, allocations: 22.27 kB / 0.5613 GB, free: 21.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3885, allocations: 13.45 kB / 0.5613 GB, free: 21.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.3888, allocations: 268.5 kB / 0.5615 GB, free: 20.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.3903, allocations: 1.646 MB / 0.5631 GB, free: 19.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.3905, allocations: 193.4 kB / 0.5633 GB, free: 19.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/0.3906, allocations: 91.47 kB / 0.5634 GB, free: 19.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3907, allocations: 0 / 0.5634 GB, free: 19.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.3907, allocations: 41.58 kB / 0.5635 GB, free: 19.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.3907, allocations: 0 / 0.5635 GB, free: 19.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002772/0.391, allocations: 184.5 kB / 0.5636 GB, free: 19.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.391, allocations: 51.41 kB / 0.5637 GB, free: 19.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3912, allocations: 227.7 kB / 0.5639 GB, free: 19.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.3912, allocations: 34.42 kB / 0.5639 GB, free: 19.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.3913, allocations: 258.9 kB / 0.5642 GB, free: 18.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.3913, allocations: 69.09 kB / 0.5642 GB, free: 18.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.3913, allocations: 7.938 kB / 0.5642 GB, free: 18.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.3914, allocations: 332.8 kB / 0.5646 GB, free: 18.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.3915, allocations: 61.06 kB / 0.5646 GB, free: 18.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.3916, allocations: 115.9 kB / 0.5647 GB, free: 18.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.753e-05/0.3917, allocations: 72.09 kB / 0.5648 GB, free: 18.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3917, allocations: 0 / 0.5648 GB, free: 18.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002577/0.3919, allocations: 237.5 kB / 0.565 GB, free: 18.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.392, allocations: 4 kB / 0.565 GB, free: 18.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.392, allocations: 9.172 kB / 0.565 GB, free: 18.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.392, allocations: 0 / 0.565 GB, free: 18.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3922, allocations: 46.09 kB / 0.5651 GB, free: 18.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3922, allocations: 6.75 kB / 0.5651 GB, free: 18.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.655e-05/0.3923, allocations: 29 kB / 0.5651 GB, free: 18.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.3923, allocations: 8 kB / 0.5651 GB, free: 18.1 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.3923, allocations: 120 kB / 0.5652 GB, free: 17.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.3924, allocations: 27.66 kB / 0.5653 GB, free: 17.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.3924, allocations: 30.09 kB / 0.5653 GB, free: 17.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3925, allocations: 7.953 kB / 0.5653 GB, free: 17.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3925, allocations: 1.688 kB / 0.5653 GB, free: 17.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3925, allocations: 0 / 0.5653 GB, free: 17.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.393, allocations: 0.6672 MB / 0.566 GB, free: 17.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.393, allocations: 0 / 0.566 GB, free: 17.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.3932, allocations: 34.3 kB / 0.566 GB, free: 17.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3932, allocations: 9.25 kB / 0.566 GB, free: 17.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3932, allocations: 4 kB / 0.566 GB, free: 17.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3932, allocations: 7.953 kB / 0.566 GB, free: 17.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3933, allocations: 0 / 0.566 GB, free: 17.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.3936, allocations: 366.5 kB / 0.5664 GB, free: 17.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.3936, allocations: 97.67 kB / 0.5665 GB, free: 17.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.3936, allocations: 9.281 kB / 0.5665 GB, free: 17.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.3937, allocations: 0 / 0.5665 GB, free: 17.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.3938, allocations: 27.22 kB / 0.5665 GB, free: 16.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.3938, allocations: 0 / 0.5665 GB, free: 16.99 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.3939, allocations: 183.5 kB / 0.5667 GB, free: 16.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3939, allocations: 0 / 0.5667 GB, free: 16.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.3942, allocations: 84.72 kB / 0.5667 GB, free: 16.77 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.36e-05/0.3942, allocations: 100.3 kB / 0.5668 GB, free: 16.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.3945, allocations: 163.5 kB / 0.567 GB, free: 16.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3945, allocations: 4.375 kB / 0.567 GB, free: 16.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.3946, allocations: 80.72 kB / 0.5671 GB, free: 16.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.3948, allocations: 31.33 kB / 0.5671 GB, free: 16.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.3954, allocations: 471.7 kB / 0.5676 GB, free: 16.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.3956, allocations: 0.819 MB / 0.5684 GB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.443e-05/0.3957, allocations: 25.78 kB / 0.5684 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.3958, allocations: 19.44 kB / 0.5684 GB, free: 15.28 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3958, allocations: 0 / 0.5684 GB, free: 15.28 MB / 394.7 MB Notification: Performance of Templates: time 0.003817/0.3996, allocations: 1.584 MB / 0.5699 GB, free: 14.34 MB / 394.7 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)