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.001065/0.001065, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 89.98 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2052/0.2052, allocations: 28.84 MB / 360.1 MB, free: 2.211 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.373e-05, allocations: 4 kB / 423.9 MB, free: 32.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 57.49 MB / 481.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.5253, allocations: 78.58 MB / 0.5468 GB, free: 10.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.5256, allocations: 59.77 kB / 0.5469 GB, free: 10.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01144/0.537, allocations: 5.661 MB / 0.5524 GB, free: 9.953 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5371, allocations: 0 / 0.5524 GB, free: 9.953 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.5371, allocations: 7.531 kB / 0.5524 GB, free: 9.953 MB / 362.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.0006102/0.5377, allocations: 0.6287 MB / 0.553 GB, free: 9.449 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5378, allocations: 15.17 kB / 0.553 GB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.5379, allocations: 53.47 kB / 0.5531 GB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.5382, allocations: 302.6 kB / 0.5534 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.5382, allocations: 19.03 kB / 0.5534 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.5382, allocations: 30.25 kB / 0.5534 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003433/0.5386, allocations: 231 kB / 0.5536 GB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.5391, allocations: 403.7 kB / 0.554 GB, free: 9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5391, allocations: 3.984 kB / 0.554 GB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.5392, allocations: 3.953 kB / 0.554 GB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.5392, allocations: 19.38 kB / 0.5541 GB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.5406, allocations: 1.527 MB / 0.5555 GB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.5409, allocations: 186.9 kB / 0.5557 GB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.541, allocations: 76.27 kB / 0.5558 GB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.541, allocations: 352 / 0.5558 GB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.5411, allocations: 34.52 kB / 0.5558 GB, free: 7.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.012e-06/0.5411, allocations: 3.875 kB / 0.5558 GB, free: 7.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002647/0.5413, allocations: 165.1 kB / 0.556 GB, free: 7.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.5414, allocations: 54.84 kB / 0.556 GB, free: 7.691 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.5415, allocations: 179.1 kB / 0.5562 GB, free: 7.578 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.5415, allocations: 25.7 kB / 0.5562 GB, free: 7.547 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.5416, allocations: 269.2 kB / 0.5565 GB, free: 7.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.5416, allocations: 67.98 kB / 0.5566 GB, free: 7.297 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-06/0.5416, allocations: 0 / 0.5566 GB, free: 7.297 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.5417, allocations: 332.1 kB / 0.5569 GB, free: 6.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.5418, allocations: 54.09 kB / 0.5569 GB, free: 6.977 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.5419, allocations: 117.8 kB / 0.557 GB, free: 6.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.06e-05/0.542, allocations: 68.62 kB / 0.5571 GB, free: 6.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.542, allocations: 0 / 0.5571 GB, free: 6.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000239/0.5422, allocations: 213.5 kB / 0.5573 GB, free: 6.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.5423, allocations: 5.156 kB / 0.5573 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5423, allocations: 3.844 kB / 0.5573 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5423, allocations: 3.875 kB / 0.5573 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.5425, allocations: 50.06 kB / 0.5574 GB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5425, allocations: 3.953 kB / 0.5574 GB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/0.5426, allocations: 11.66 kB / 0.5574 GB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.5426, allocations: 7.75 kB / 0.5574 GB, free: 6.809 MB / 362.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.205e-05/0.5427, allocations: 119 kB / 0.5575 GB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001905/0.5429, allocations: 167 kB / 0.5577 GB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.5429, allocations: 19.38 kB / 0.5577 GB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.543, allocations: 29.73 kB / 0.5577 GB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.543, allocations: 3.844 kB / 0.5577 GB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.543, allocations: 7.938 kB / 0.5577 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.543, allocations: 7.891 kB / 0.5577 GB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.5434, allocations: 0.5758 MB / 0.5583 GB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5435, allocations: 4 kB / 0.5583 GB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.5436, allocations: 38.14 kB / 0.5583 GB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5436, allocations: 0 / 0.5583 GB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5437, allocations: 3.844 kB / 0.5583 GB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5437, allocations: 0 / 0.5583 GB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5437, allocations: 0 / 0.5583 GB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.544, allocations: 349.4 kB / 0.5587 GB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.544, allocations: 96.52 kB / 0.5588 GB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.544, allocations: 0 / 0.5588 GB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.5441, allocations: 4 kB / 0.5588 GB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.5442, allocations: 11.75 kB / 0.5588 GB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.5442, allocations: 3.844 kB / 0.5588 GB, free: 5.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.171e-05/0.5443, allocations: 145.2 kB / 0.5589 GB, free: 5.891 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5443, allocations: 0 / 0.5589 GB, free: 5.891 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002912/0.5446, allocations: 77.56 kB / 0.559 GB, free: 5.859 MB / 362.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.0004407/0.545, allocations: 0.8806 MB / 0.5599 GB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.5452, allocations: 155.8 kB / 0.56 GB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5452, allocations: 0 / 0.56 GB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.5453, allocations: 83.59 kB / 0.5601 GB, free: 5.141 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.5456, allocations: 26.16 kB / 0.5601 GB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008609/0.5465, allocations: 0.5264 MB / 0.5606 GB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.5467, allocations: 0.8215 MB / 0.5614 GB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.291e-05/0.5468, allocations: 17.72 kB / 0.5614 GB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.5469, allocations: 130.3 kB / 0.5616 GB, free: 4.031 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5469, allocations: 3.938 kB / 0.5616 GB, free: 4.027 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.5703, allocations: 3.626 MB / 0.5651 GB, free: 2.332 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.5706, allocations: 123.6 kB / 0.5652 GB, free: 2.145 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.242, allocations: 0 / 0.5652 GB, free: 2.145 MB / 362.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)