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: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 174.6 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.362/1.362, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.001022/0.001022, allocations: 96.8 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4526/0.4526, allocations: 28.82 MB / 365.3 MB, free: 42.04 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.527e-05, allocations: 0 / 430.8 MB, free: 4.355 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1486, allocations: 57.48 MB / 488.2 MB, free: 10.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4835/0.6321, allocations: 79.25 MB / 0.5542 GB, free: 25.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/0.6324, allocations: 61.02 kB / 0.5542 GB, free: 25.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01388/0.6462, allocations: 5.706 MB / 0.5598 GB, free: 22.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.6463, allocations: 4 kB / 0.5598 GB, free: 22.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.239e-05/0.6463, allocations: 8 kB / 0.5598 GB, free: 22.41 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.0009368/0.6473, allocations: 0.623 MB / 0.5604 GB, free: 21.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6474, allocations: 12.03 kB / 0.5604 GB, free: 21.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.6475, allocations: 100.1 kB / 0.5605 GB, free: 21.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.6476, allocations: 56.05 kB / 0.5606 GB, free: 21.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.648, allocations: 324.3 kB / 0.5609 GB, free: 21.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.648, allocations: 40.38 kB / 0.5609 GB, free: 21.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/0.6481, allocations: 54.38 kB / 0.561 GB, free: 21.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.6488, allocations: 485.4 kB / 0.5615 GB, free: 21.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.6488, allocations: 0 / 0.5615 GB, free: 21.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.6489, allocations: 27.14 kB / 0.5615 GB, free: 21.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.6489, allocations: 16 kB / 0.5615 GB, free: 21.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.6493, allocations: 269.8 kB / 0.5618 GB, free: 20.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.6511, allocations: 1.651 MB / 0.5634 GB, free: 19.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.6514, allocations: 190.2 kB / 0.5635 GB, free: 19.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.6516, allocations: 85.03 kB / 0.5636 GB, free: 19.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.6516, allocations: 1.125 kB / 0.5636 GB, free: 19.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.6516, allocations: 37.88 kB / 0.5637 GB, free: 19.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/0.6516, allocations: 0 / 0.5637 GB, free: 19.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003285/0.652, allocations: 191.2 kB / 0.5639 GB, free: 19.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.652, allocations: 55.34 kB / 0.5639 GB, free: 19.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.6522, allocations: 230.2 kB / 0.5641 GB, free: 18.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.6522, allocations: 33.45 kB / 0.5642 GB, free: 18.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.6523, allocations: 262.6 kB / 0.5644 GB, free: 18.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.6524, allocations: 71.38 kB / 0.5645 GB, free: 18.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.6524, allocations: 3.812 kB / 0.5645 GB, free: 18.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.6525, allocations: 335.2 kB / 0.5648 GB, free: 18.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.898e-05/0.6526, allocations: 60.94 kB / 0.5649 GB, free: 18.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.6527, allocations: 111.5 kB / 0.565 GB, free: 18.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.6528, allocations: 74.45 kB / 0.565 GB, free: 18.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.6528, allocations: 0 / 0.565 GB, free: 18.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002975/0.6531, allocations: 250.6 kB / 0.5653 GB, free: 18.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.6532, allocations: 4 kB / 0.5653 GB, free: 18.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6532, allocations: 4 kB / 0.5653 GB, free: 18.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.6532, allocations: 5.312 kB / 0.5653 GB, free: 18.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.6534, allocations: 44.78 kB / 0.5653 GB, free: 17.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6534, allocations: 5.219 kB / 0.5653 GB, free: 17.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.715e-05/0.6535, allocations: 18.19 kB / 0.5653 GB, free: 17.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.6535, allocations: 9.25 kB / 0.5654 GB, free: 17.95 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 6.833e-05/0.6536, allocations: 116.8 kB / 0.5655 GB, free: 17.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.6536, allocations: 27.7 kB / 0.5655 GB, free: 17.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.976e-05/0.6537, allocations: 37.67 kB / 0.5655 GB, free: 17.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6537, allocations: 4 kB / 0.5655 GB, free: 17.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.6537, allocations: 0 / 0.5655 GB, free: 17.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.6537, allocations: 0 / 0.5655 GB, free: 17.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006734/0.6544, allocations: 0.6785 MB / 0.5662 GB, free: 17.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6544, allocations: 7.5 kB / 0.5662 GB, free: 17.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.6546, allocations: 31.09 kB / 0.5662 GB, free: 17.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.6546, allocations: 3.953 kB / 0.5662 GB, free: 17.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.6546, allocations: 5.859 kB / 0.5662 GB, free: 17.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.6547, allocations: 8 kB / 0.5663 GB, free: 17.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6547, allocations: 0 / 0.5663 GB, free: 17.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.655, allocations: 358 kB / 0.5666 GB, free: 16.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.6551, allocations: 108.4 kB / 0.5667 GB, free: 16.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.6551, allocations: 9.266 kB / 0.5667 GB, free: 16.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-05/0.6552, allocations: 3.812 kB / 0.5667 GB, free: 16.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.6552, allocations: 7.797 kB / 0.5667 GB, free: 16.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.6553, allocations: 7.812 kB / 0.5667 GB, free: 16.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.6554, allocations: 185.7 kB / 0.5669 GB, free: 16.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6554, allocations: 0 / 0.5669 GB, free: 16.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.6557, allocations: 79.03 kB / 0.567 GB, free: 16.63 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 0.0005316/0.6562, allocations: 0.8933 MB / 0.5678 GB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.6565, allocations: 184.4 kB / 0.568 GB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6565, allocations: 0 / 0.568 GB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.893e-05/0.6566, allocations: 79.55 kB / 0.5681 GB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.6569, allocations: 26.55 kB / 0.5681 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.6579, allocations: 0.5496 MB / 0.5687 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.6582, allocations: 0.8244 MB / 0.5695 GB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.225e-05/0.6583, allocations: 16.42 kB / 0.5695 GB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.6585, allocations: 136.5 kB / 0.5696 GB, free: 14.33 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6585, allocations: 0 / 0.5696 GB, free: 14.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.6796, allocations: 4.416 MB / 0.5739 GB, free: 11.44 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.6798, allocations: 143 kB / 0.5741 GB, free: 11.22 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.64, allocations: 3.938 kB / 0.5741 GB, free: 11.21 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-11 SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1)