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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002515/0.002515, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002733/0.002733, allocations: 196.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.747/2.747, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.6055/0.6055, allocations: 28.8 MB / 319.2 MB, free: 5.727 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 59.91 kB / 386.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5384, allocations: 56.41 MB / 443.1 MB, free: 39.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.004872/0.5434, allocations: 2.089 MB / 445.2 MB, free: 38.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000935/0.5443, allocations: 308 kB / 445.5 MB, free: 38.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.5446, allocations: 12.62 kB / 445.5 MB, free: 38.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.545, allocations: 63.72 kB / 445.6 MB, free: 38.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.5452, allocations: 42.16 kB / 445.6 MB, free: 38.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.5458, allocations: 155.5 kB / 445.8 MB, free: 38.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005855/0.5464, allocations: 401.6 kB / 446.2 MB, free: 38.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007348/0.5471, allocations: 354.8 kB / 446.5 MB, free: 38.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.5473, allocations: 152.2 kB / 446.7 MB, free: 38.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.5476, allocations: 189.3 kB / 446.9 MB, free: 38.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.264e-05/0.5477, allocations: 45.44 kB / 446.9 MB, free: 38.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.707e-05/0.5478, allocations: 42.81 kB / 446.9 MB, free: 38.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.5479, allocations: 102.1 kB / 447 MB, free: 37.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.5481, allocations: 213 kB / 447.3 MB, free: 37.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.5487, allocations: 418.4 kB / 447.7 MB, free: 37.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.5487, allocations: 0 / 447.7 MB, free: 37.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.166e-05/0.5487, allocations: 2.688 kB / 447.7 MB, free: 37.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.5488, allocations: 0 / 447.7 MB, free: 37.81 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.001177/0.55, allocations: 0.7045 MB / 448.4 MB, free: 37.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/0.55, allocations: 14.97 kB / 448.4 MB, free: 37.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.5502, allocations: 95.75 kB / 448.5 MB, free: 37.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.5504, allocations: 58.28 kB / 448.5 MB, free: 37.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.5508, allocations: 323.3 kB / 448.9 MB, free: 37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.5509, allocations: 40.88 kB / 448.9 MB, free: 36.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/0.551, allocations: 56.53 kB / 448.9 MB, free: 36.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000922/0.5519, allocations: 0.4898 MB / 449.4 MB, free: 36.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.5519, allocations: 11.16 kB / 449.4 MB, free: 36.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.552, allocations: 21.69 kB / 449.5 MB, free: 36.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.552, allocations: 14.41 kB / 449.5 MB, free: 36.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/0.5526, allocations: 275.8 kB / 449.8 MB, free: 36.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.5549, allocations: 1.658 MB / 451.4 MB, free: 35.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.5554, allocations: 201.5 kB / 451.6 MB, free: 35.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.5556, allocations: 83.67 kB / 451.7 MB, free: 35.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.5557, allocations: 2.875 kB / 451.7 MB, free: 35.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.5557, allocations: 42.5 kB / 451.7 MB, free: 35.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 3.626e-06/0.5557, allocations: 2.812 kB / 451.7 MB, free: 35.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006311/0.5564, allocations: 247.7 kB / 452 MB, free: 35.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.5564, allocations: 58.16 kB / 452 MB, free: 35.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.5568, allocations: 259.9 kB / 452.3 MB, free: 34.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.5568, allocations: 25.7 kB / 452.3 MB, free: 34.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.557, allocations: 263.8 kB / 452.6 MB, free: 34.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.5571, allocations: 78.22 kB / 452.6 MB, free: 34.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.5572, allocations: 50.27 kB / 452.7 MB, free: 34.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.5573, allocations: 335 kB / 453 MB, free: 34.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.5575, allocations: 62.48 kB / 453.1 MB, free: 34.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.5577, allocations: 119.2 kB / 453.2 MB, free: 34.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.5581, allocations: 199 kB / 453.4 MB, free: 33.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5581, allocations: 0 / 453.4 MB, free: 33.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005291/0.5586, allocations: 251.1 kB / 453.6 MB, free: 33.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.5587, allocations: 8.609 kB / 453.7 MB, free: 33.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5587, allocations: 2.969 kB / 453.7 MB, free: 33.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.5587, allocations: 2.906 kB / 453.7 MB, free: 33.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.559, allocations: 44.98 kB / 453.7 MB, free: 33.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.5591, allocations: 2.75 kB / 453.7 MB, free: 33.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.5592, allocations: 27.34 kB / 453.7 MB, free: 33.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.5593, allocations: 9.5 kB / 453.7 MB, free: 33.83 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.0001924/0.5595, allocations: 152.1 kB / 453.9 MB, free: 33.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.5596, allocations: 25.75 kB / 453.9 MB, free: 33.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.644e-05/0.5597, allocations: 34.62 kB / 453.9 MB, free: 33.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5597, allocations: 6.625 kB / 454 MB, free: 33.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5597, allocations: 0 / 454 MB, free: 33.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5597, allocations: 2.594 kB / 454 MB, free: 33.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.5608, allocations: 0.6681 MB / 454.6 MB, free: 33.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.5608, allocations: 2.5 kB / 454.6 MB, free: 33.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.5611, allocations: 27.86 kB / 454.7 MB, free: 33.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.5611, allocations: 7.938 kB / 454.7 MB, free: 33.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.5612, allocations: 10.72 kB / 454.7 MB, free: 33.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.5612, allocations: 4 kB / 454.7 MB, free: 33.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5612, allocations: 0 / 454.7 MB, free: 33.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.5619, allocations: 366.1 kB / 455 MB, free: 32.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.562, allocations: 113.6 kB / 455.1 MB, free: 32.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.562, allocations: 0 / 455.1 MB, free: 32.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.5622, allocations: 7.25 kB / 455.2 MB, free: 32.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.5622, allocations: 10.72 kB / 455.2 MB, free: 32.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.5623, allocations: 9.75 kB / 455.2 MB, free: 32.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002521/0.5625, allocations: 187.6 kB / 455.4 MB, free: 32.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5625, allocations: 0 / 455.4 MB, free: 32.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006324/0.5632, allocations: 82.69 kB / 455.4 MB, free: 32.66 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 0.0009799/0.5642, allocations: 0.9053 MB / 456.3 MB, free: 31.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005056/0.5647, allocations: 179.1 kB / 456.5 MB, free: 31.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.5647, allocations: 4 kB / 456.5 MB, free: 31.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.5649, allocations: 83.34 kB / 456.6 MB, free: 31.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.5656, allocations: 42.53 kB / 456.6 MB, free: 31.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.5701, allocations: 2.823 MB / 459.5 MB, free: 29.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.5705, allocations: 0.8169 MB / 460.3 MB, free: 29.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.5707, allocations: 19.23 kB / 460.3 MB, free: 29.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.5709, allocations: 131.6 kB / 460.4 MB, free: 29 MB / 366.1 MB Notification: Performance of SimCode: time 1.332e-06/0.5709, allocations: 0 / 460.4 MB, free: 29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08137/0.6523, allocations: 4.74 MB / 465.2 MB, free: 28.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/19, allocations: 20.12 kB / 465.2 MB, free: 28.34 MB / 366.1 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 & python3 -m fmpy simulate --output-file SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_res.csv --start-time 0 --stop-time 5000 --timeout 50 --relative-tolerance 1e-11 --interface-type ModelExchange --solver CVode --output-interval 2 SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1)