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.00931/0.00931, allocations: 170.9 kB / 15.11 MB, free: 5.973 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.519/1.519, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000983/0.0009828, allocations: 99.41 kB / 290.2 MB, free: 4.543 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2029/0.2029, allocations: 28.84 MB / 370.2 MB, free: 44 kB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 10.81 kB / 438.2 MB, free: 88.26 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 57.49 MB / 495.7 MB, free: 31.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4071/0.5264, allocations: 79.31 MB / 0.5615 GB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.5267, allocations: 63.52 kB / 0.5616 GB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01435/0.5411, allocations: 5.71 MB / 0.5672 GB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5411, allocations: 0 / 0.5672 GB, free: 10.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.583e-05/0.5412, allocations: 14.72 kB / 0.5672 GB, free: 10.79 MB / 378.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.0009262/0.5421, allocations: 0.643 MB / 0.5678 GB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.5422, allocations: 8.5 kB / 0.5678 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.5423, allocations: 104.1 kB / 0.5679 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.5424, allocations: 54.19 kB / 0.568 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.5428, allocations: 317.7 kB / 0.5683 GB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.5429, allocations: 38.91 kB / 0.5683 GB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.543, allocations: 58.5 kB / 0.5684 GB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.5438, allocations: 487.7 kB / 0.5688 GB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.5438, allocations: 5.219 kB / 0.5688 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.5439, allocations: 28.27 kB / 0.5689 GB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.5439, allocations: 21.31 kB / 0.5689 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.5444, allocations: 274.8 kB / 0.5691 GB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.5464, allocations: 1.655 MB / 0.5708 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.5468, allocations: 198.1 kB / 0.5709 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.5468, allocations: 1.25 kB / 0.5709 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.5469, allocations: 37.39 kB / 0.571 GB, free: 8.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 2.224e-06/0.5469, allocations: 0 / 0.571 GB, free: 8.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004765/0.5473, allocations: 248.2 kB / 0.5712 GB, free: 8.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.5474, allocations: 57.19 kB / 0.5713 GB, free: 8.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.5477, allocations: 227.1 kB / 0.5715 GB, free: 8.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.5477, allocations: 34.3 kB / 0.5715 GB, free: 8.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.5478, allocations: 266.2 kB / 0.5718 GB, free: 8.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.5479, allocations: 75.27 kB / 0.5718 GB, free: 8.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.5479, allocations: 4.219 kB / 0.5718 GB, free: 8.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.548, allocations: 335.8 kB / 0.5722 GB, free: 8.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.5482, allocations: 63.23 kB / 0.5722 GB, free: 8.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.5484, allocations: 115.9 kB / 0.5723 GB, free: 8.016 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.5485, allocations: 77.34 kB / 0.5724 GB, free: 8.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5485, allocations: 1.281 kB / 0.5724 GB, free: 8.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003714/0.5489, allocations: 250.3 kB / 0.5727 GB, free: 7.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5489, allocations: 7.984 kB / 0.5727 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.549, allocations: 1.25 kB / 0.5727 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.549, allocations: 3.094 kB / 0.5727 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.5492, allocations: 40.95 kB / 0.5727 GB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.5492, allocations: 3.156 kB / 0.5727 GB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.5493, allocations: 23.97 kB / 0.5727 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.5493, allocations: 14 kB / 0.5727 GB, free: 7.93 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.5495, allocations: 153.5 kB / 0.5729 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.5496, allocations: 31.11 kB / 0.5729 GB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.5496, allocations: 32.98 kB / 0.5729 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5496, allocations: 2.031 kB / 0.573 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.5497, allocations: 1.094 kB / 0.573 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5497, allocations: 2.766 kB / 0.573 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007551/0.5504, allocations: 0.6718 MB / 0.5736 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5504, allocations: 3.141 kB / 0.5736 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.5506, allocations: 28.11 kB / 0.5736 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.5506, allocations: 5.016 kB / 0.5736 GB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.5507, allocations: 8 kB / 0.5737 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5507, allocations: 5.484 kB / 0.5737 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5507, allocations: 0 / 0.5737 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.5512, allocations: 378.2 kB / 0.574 GB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.5512, allocations: 99.27 kB / 0.5741 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.5513, allocations: 7.797 kB / 0.5741 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.5514, allocations: 3.844 kB / 0.5741 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.5514, allocations: 15.67 kB / 0.5741 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.5514, allocations: 7.656 kB / 0.5741 GB, free: 7.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.5516, allocations: 183.8 kB / 0.5743 GB, free: 7.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5516, allocations: 0 / 0.5743 GB, free: 7.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003425/0.5519, allocations: 81.62 kB / 0.5744 GB, free: 7.082 MB / 378.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 (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.0006324/0.5526, allocations: 0.9005 MB / 0.5753 GB, free: 6.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.5529, allocations: 177.4 kB / 0.5754 GB, free: 6.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5529, allocations: 1.125 kB / 0.5755 GB, free: 6.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.553, allocations: 80.45 kB / 0.5755 GB, free: 6.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.5534, allocations: 35.12 kB / 0.5756 GB, free: 6.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.556, allocations: 2.676 MB / 0.5782 GB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.5566, allocations: 0.8209 MB / 0.579 GB, free: 19.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.5567, allocations: 19.45 kB / 0.579 GB, free: 19.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.5569, allocations: 137.3 kB / 0.5791 GB, free: 19.89 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5569, allocations: 0 / 0.5791 GB, free: 19.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.5739, allocations: 4.372 MB / 0.5834 GB, free: 18.76 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.5741, allocations: 162.8 kB / 0.5835 GB, free: 18.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.571, allocations: 0 / 0.5835 GB, free: 18.53 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)