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.0008987/0.0008986, allocations: 97.72 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000998/0.0009979, allocations: 172 kB / 16.26 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 1.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2601/0.2601, allocations: 28.85 MB / 320.3 MB, free: 6.203 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002696, allocations: 11.98 kB / 388.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2312, allocations: 57.47 MB / 446.1 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.001514/0.2328, allocations: 1.726 MB / 447.8 MB, free: 31.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004188/0.2332, allocations: 301.6 kB / 448.1 MB, free: 31.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.2334, allocations: 9.031 kB / 448.1 MB, free: 31.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.2335, allocations: 46.69 kB / 448.1 MB, free: 31.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.364e-05/0.2336, allocations: 7.875 kB / 448.1 MB, free: 31.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.2338, allocations: 136.2 kB / 448.3 MB, free: 31.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.2341, allocations: 374.4 kB / 448.6 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.2344, allocations: 329 kB / 449 MB, free: 30.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.2345, allocations: 91.58 kB / 449.1 MB, free: 30.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.2346, allocations: 119.3 kB / 449.2 MB, free: 30.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.2346, allocations: 8.875 kB / 449.2 MB, free: 30.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.844e-05/0.2346, allocations: 8.781 kB / 449.2 MB, free: 30.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.2347, allocations: 56.02 kB / 449.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.2347, allocations: 174.3 kB / 449.4 MB, free: 30.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.2349, allocations: 362.9 kB / 449.8 MB, free: 30.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.235, allocations: 0 / 449.8 MB, free: 30.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.235, allocations: 0 / 449.8 MB, free: 30.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.235, allocations: 0 / 449.8 MB, free: 30.46 MB / 350.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.0005316/0.2355, allocations: 0.6203 MB / 450.4 MB, free: 29.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2355, allocations: 16.69 kB / 450.4 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.279e-05/0.2356, allocations: 103 kB / 450.5 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.2357, allocations: 54.5 kB / 450.6 MB, free: 29.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.2359, allocations: 321.1 kB / 450.9 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.236, allocations: 44.72 kB / 450.9 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.236, allocations: 58.38 kB / 451 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.2366, allocations: 496.2 kB / 451.5 MB, free: 29.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2366, allocations: 3.938 kB / 451.5 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.2366, allocations: 22 kB / 451.5 MB, free: 29.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2366, allocations: 18.22 kB / 451.5 MB, free: 29.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.237, allocations: 282.7 kB / 451.8 MB, free: 29.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.2383, allocations: 1.65 MB / 453.4 MB, free: 27.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.2385, allocations: 198.2 kB / 453.6 MB, free: 27.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.181e-05/0.2386, allocations: 80.98 kB / 453.7 MB, free: 27.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.2387, allocations: 2.719 kB / 453.7 MB, free: 27.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.2387, allocations: 41.73 kB / 453.7 MB, free: 27.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.173e-06/0.2387, allocations: 0 / 453.7 MB, free: 27.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003352/0.239, allocations: 247.2 kB / 454 MB, free: 27.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.2391, allocations: 61.53 kB / 454 MB, free: 27.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.2392, allocations: 259.1 kB / 454.3 MB, free: 27.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.2393, allocations: 29.7 kB / 454.3 MB, free: 27.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.2393, allocations: 258.4 kB / 454.6 MB, free: 27.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.2394, allocations: 76.78 kB / 454.7 MB, free: 27.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.2394, allocations: 29.02 kB / 454.7 MB, free: 27.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.65e-05/0.2395, allocations: 337.9 kB / 455 MB, free: 26.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.2396, allocations: 62.25 kB / 455.1 MB, free: 26.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.591e-05/0.2397, allocations: 123.8 kB / 455.2 MB, free: 26.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.2399, allocations: 197.2 kB / 455.4 MB, free: 26.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2399, allocations: 0 / 455.4 MB, free: 26.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002573/0.2401, allocations: 249.3 kB / 455.6 MB, free: 26.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2401, allocations: 7.125 kB / 455.6 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2402, allocations: 0 / 455.6 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2402, allocations: 2.625 kB / 455.6 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.2403, allocations: 53.84 kB / 455.7 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2403, allocations: 6.031 kB / 455.7 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/0.2404, allocations: 31.59 kB / 455.7 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.2404, allocations: 5.281 kB / 455.7 MB, free: 26.35 MB / 350.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 9.656e-05/0.2405, allocations: 151.4 kB / 455.9 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.2406, allocations: 25.34 kB / 455.9 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.463e-05/0.2406, allocations: 31.38 kB / 455.9 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2407, allocations: 3.938 kB / 455.9 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2407, allocations: 2.844 kB / 455.9 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2407, allocations: 7.422 kB / 455.9 MB, free: 26.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.2412, allocations: 0.67 MB / 456.6 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2412, allocations: 0 / 456.6 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.2413, allocations: 35.48 kB / 456.7 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2414, allocations: 10.62 kB / 456.7 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.2414, allocations: 0 / 456.7 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2414, allocations: 2.531 kB / 456.7 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2414, allocations: 0 / 456.7 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.2417, allocations: 371.2 kB / 457 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.2417, allocations: 109 kB / 457.1 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.2418, allocations: 4 kB / 457.1 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.2419, allocations: 2.906 kB / 457.1 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.2419, allocations: 10.39 kB / 457.2 MB, free: 25.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.2419, allocations: 5.656 kB / 457.2 MB, free: 25.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.242, allocations: 185.1 kB / 457.3 MB, free: 25.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.242, allocations: 0 / 457.3 MB, free: 25.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.2423, allocations: 87.75 kB / 457.4 MB, free: 25.18 MB / 350.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.0004234/0.2427, allocations: 0.9063 MB / 458.3 MB, free: 24.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.2429, allocations: 165.2 kB / 458.5 MB, free: 24.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2429, allocations: 2.594 kB / 458.5 MB, free: 24.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/0.243, allocations: 86.16 kB / 458.6 MB, free: 24.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.2434, allocations: 39.58 kB / 458.6 MB, free: 24.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.2456, allocations: 3.039 MB / 461.7 MB, free: 22.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.2458, allocations: 0.8092 MB / 462.5 MB, free: 21.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.065e-05/0.2458, allocations: 23.14 kB / 462.5 MB, free: 21.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.246, allocations: 136.7 kB / 462.6 MB, free: 21.31 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.246, allocations: 1.375 kB / 462.6 MB, free: 21.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.2595, allocations: 4.44 MB / 467.1 MB, free: 20.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001311/0.2597, allocations: 192.1 kB / 467.2 MB, free: 20.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.851, allocations: 0 / 467.2 MB, free: 20.65 MB / 350.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 & /home/hudson/saved_omc/OMSimulator/install/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)