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.001075/0.00108, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00104/0.00104, allocations: 191 kB / 16.25 MB, free: 6.629 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2934/0.2934, allocations: 28.81 MB / 318.9 MB, free: 5.82 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 56.05 kB / 386.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2664, allocations: 56.41 MB / 442.6 MB, free: 39.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002502/0.269, allocations: 2.123 MB / 444.7 MB, free: 38.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004708/0.2694, allocations: 292.3 kB / 445 MB, free: 38.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.2696, allocations: 12.41 kB / 445 MB, free: 38.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.2698, allocations: 39.95 kB / 445.1 MB, free: 38.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.647e-05/0.2699, allocations: 18.02 kB / 445.1 MB, free: 38.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.2701, allocations: 134.9 kB / 445.2 MB, free: 38.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.2704, allocations: 404.8 kB / 445.6 MB, free: 38.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.2708, allocations: 347.8 kB / 446 MB, free: 38.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.603e-05/0.2708, allocations: 151.6 kB / 446.1 MB, free: 38.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.2709, allocations: 190.2 kB / 446.3 MB, free: 38.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.271, allocations: 43.44 kB / 446.3 MB, free: 38.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.575e-05/0.271, allocations: 50 kB / 446.4 MB, free: 38.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.2711, allocations: 104.7 kB / 446.5 MB, free: 38.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.2712, allocations: 205.8 kB / 446.7 MB, free: 37.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.2715, allocations: 416.2 kB / 447.1 MB, free: 37.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2715, allocations: 0 / 447.1 MB, free: 37.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2715, allocations: 0 / 447.1 MB, free: 37.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.2715, allocations: 3.938 kB / 447.1 MB, free: 37.86 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.0006049/0.2721, allocations: 0.7083 MB / 447.8 MB, free: 37.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2721, allocations: 11.78 kB / 447.8 MB, free: 37.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.895e-05/0.2722, allocations: 102.2 kB / 447.9 MB, free: 37.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.2723, allocations: 58.38 kB / 448 MB, free: 37.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.2725, allocations: 326.8 kB / 448.3 MB, free: 37.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.2726, allocations: 41.25 kB / 448.3 MB, free: 37.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.2726, allocations: 56.69 kB / 448.4 MB, free: 37.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.2731, allocations: 0.4886 MB / 448.9 MB, free: 36.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2732, allocations: 3.938 kB / 448.9 MB, free: 36.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.2732, allocations: 25.78 kB / 448.9 MB, free: 36.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.2732, allocations: 14.38 kB / 448.9 MB, free: 36.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.2735, allocations: 278.9 kB / 449.2 MB, free: 36.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.2748, allocations: 1.653 MB / 450.9 MB, free: 35.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.2751, allocations: 199.6 kB / 451.1 MB, free: 35.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.864e-05/0.2752, allocations: 77.98 kB / 451.1 MB, free: 35.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2752, allocations: 2.875 kB / 451.1 MB, free: 35.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.2752, allocations: 36.61 kB / 451.2 MB, free: 35.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.2752, allocations: 0 / 451.2 MB, free: 35.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.000328/0.2756, allocations: 247.5 kB / 451.4 MB, free: 35.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.2756, allocations: 65.45 kB / 451.5 MB, free: 35.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.2758, allocations: 253.5 kB / 451.7 MB, free: 35.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2758, allocations: 29.7 kB / 451.7 MB, free: 34.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.2759, allocations: 266 kB / 452 MB, free: 34.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.2759, allocations: 77.09 kB / 452.1 MB, free: 34.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.276, allocations: 45.59 kB / 452.1 MB, free: 34.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.276, allocations: 338.4 kB / 452.5 MB, free: 34.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.2761, allocations: 59.88 kB / 452.5 MB, free: 34.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.2762, allocations: 129.5 kB / 452.6 MB, free: 34.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.2764, allocations: 196.6 kB / 452.8 MB, free: 34.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2764, allocations: 0 / 452.8 MB, free: 34.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002541/0.2767, allocations: 249.9 kB / 453.1 MB, free: 33.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2767, allocations: 9.094 kB / 453.1 MB, free: 33.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2767, allocations: 0 / 453.1 MB, free: 33.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2767, allocations: 7.062 kB / 453.1 MB, free: 33.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2769, allocations: 45.62 kB / 453.1 MB, free: 33.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2769, allocations: 2.969 kB / 453.1 MB, free: 33.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.277, allocations: 33.67 kB / 453.2 MB, free: 33.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.277, allocations: 12.72 kB / 453.2 MB, free: 33.93 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 9.63e-05/0.2771, allocations: 147.4 kB / 453.3 MB, free: 33.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.2771, allocations: 27.25 kB / 453.4 MB, free: 33.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.2772, allocations: 31.33 kB / 453.4 MB, free: 33.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2772, allocations: 7.25 kB / 453.4 MB, free: 33.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2772, allocations: 11.41 kB / 453.4 MB, free: 33.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2772, allocations: 0 / 453.4 MB, free: 33.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.2777, allocations: 0.6692 MB / 454.1 MB, free: 33.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2777, allocations: 4 kB / 454.1 MB, free: 33.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.2779, allocations: 32.67 kB / 454.1 MB, free: 33.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.2779, allocations: 6.875 kB / 454.1 MB, free: 33.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.2779, allocations: 4 kB / 454.1 MB, free: 33.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2779, allocations: 0 / 454.1 MB, free: 33.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2779, allocations: 2.969 kB / 454.1 MB, free: 33.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.2783, allocations: 375.6 kB / 454.5 MB, free: 33.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.2783, allocations: 102.5 kB / 454.6 MB, free: 32.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.2783, allocations: 6.812 kB / 454.6 MB, free: 32.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.2784, allocations: 4 kB / 454.6 MB, free: 32.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.2785, allocations: 11.55 kB / 454.6 MB, free: 32.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.2785, allocations: 6.75 kB / 454.6 MB, free: 32.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.2786, allocations: 185.7 kB / 454.8 MB, free: 32.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.2786, allocations: 0 / 454.8 MB, free: 32.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.2789, allocations: 92.84 kB / 454.9 MB, free: 32.75 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.0004403/0.2793, allocations: 0.8968 MB / 455.8 MB, free: 31.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.2796, allocations: 179.6 kB / 456 MB, free: 31.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2796, allocations: 384 / 456 MB, free: 31.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/0.2797, allocations: 91.38 kB / 456.1 MB, free: 31.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.28, allocations: 29.28 kB / 456.1 MB, free: 31.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.2822, allocations: 3.019 MB / 459.1 MB, free: 29.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.2824, allocations: 0.815 MB / 459.9 MB, free: 29.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.113e-05/0.2825, allocations: 22.27 kB / 459.9 MB, free: 29.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.2826, allocations: 136 kB / 460.1 MB, free: 28.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2826, allocations: 0 / 460.1 MB, free: 28.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/0.4172, allocations: 4.662 MB / 464.7 MB, free: 28.37 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.4174, allocations: 195.3 kB / 464.9 MB, free: 28.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.361, allocations: 0 / 464.9 MB, free: 28.12 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 & /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)