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.007315/0.007315, allocations: 102 kB / 15.73 MB, free: 6.051 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.001644/0.001644, allocations: 195 kB / 16.68 MB, free: 5.969 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3245/0.3245, allocations: 28.81 MB / 319.3 MB, free: 5.508 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.22 kB / 443.8 MB, free: 37.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 56.41 MB / 0.4885 GB, free: 8.922 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003022/0.1122, allocations: 2.103 MB / 0.4905 GB, free: 7.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006277/0.1128, allocations: 318.4 kB / 0.4908 GB, free: 6.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.113, allocations: 9.062 kB / 0.4909 GB, free: 6.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.1133, allocations: 64.59 kB / 0.4909 GB, free: 6.922 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.1134, allocations: 29.88 kB / 0.4909 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1136, allocations: 163.8 kB / 0.4911 GB, free: 6.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.114, allocations: 405.2 kB / 0.4915 GB, free: 6.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004228/0.1144, allocations: 356.8 kB / 0.4918 GB, free: 6.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1146, allocations: 157.2 kB / 0.492 GB, free: 6.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1147, allocations: 185.4 kB / 0.4922 GB, free: 5.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.1148, allocations: 43.19 kB / 0.4922 GB, free: 5.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.75e-05/0.1148, allocations: 45.56 kB / 0.4922 GB, free: 5.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.1149, allocations: 102.2 kB / 0.4923 GB, free: 5.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.115, allocations: 213.8 kB / 0.4925 GB, free: 5.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.1154, allocations: 438.3 kB / 0.493 GB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1154, allocations: 0 / 0.493 GB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1154, allocations: 1.188 kB / 0.493 GB, free: 5.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.1154, allocations: 4 kB / 0.493 GB, free: 5.395 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.0008011/0.1163, allocations: 0.7171 MB / 0.4937 GB, free: 4.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1163, allocations: 10.38 kB / 0.4937 GB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.1164, allocations: 97.47 kB / 0.4938 GB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.1165, allocations: 55.09 kB / 0.4938 GB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1169, allocations: 332.9 kB / 0.4941 GB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.1169, allocations: 43.38 kB / 0.4942 GB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/0.117, allocations: 52.47 kB / 0.4942 GB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.1177, allocations: 0.4917 MB / 0.4947 GB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1177, allocations: 3.938 kB / 0.4947 GB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.1177, allocations: 20 kB / 0.4947 GB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1177, allocations: 15.94 kB / 0.4947 GB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.1181, allocations: 285.1 kB / 0.495 GB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.1195, allocations: 1.631 MB / 0.4966 GB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.1198, allocations: 202.5 kB / 0.4968 GB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.601e-05/0.1199, allocations: 88.77 kB / 0.4969 GB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1199, allocations: 4 kB / 0.4969 GB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.1199, allocations: 34.56 kB / 0.4969 GB, free: 1.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.1199, allocations: 0 / 0.4969 GB, free: 1.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003555/0.1203, allocations: 249.6 kB / 0.4972 GB, free: 1.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.1203, allocations: 55.34 kB / 0.4972 GB, free: 1.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1205, allocations: 262.7 kB / 0.4975 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1205, allocations: 33.64 kB / 0.4975 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.1206, allocations: 267.6 kB / 0.4978 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.1207, allocations: 67 kB / 0.4978 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.1207, allocations: 49.7 kB / 0.4979 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.1208, allocations: 334.8 kB / 0.4982 GB, free: 228 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.036e-05/0.1209, allocations: 67.97 kB / 0.4983 GB, free: 160 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.121, allocations: 114 kB / 0.4984 GB, free: 24 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.1213, allocations: 188.4 kB / 0.4985 GB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1214, allocations: 4 kB / 0.4985 GB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000373/0.1217, allocations: 248.9 kB / 0.4988 GB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1218, allocations: 4 kB / 0.4988 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1218, allocations: 4 kB / 0.4988 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.1218, allocations: 4 kB / 0.4988 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.122, allocations: 48.05 kB / 0.4988 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.122, allocations: 8 kB / 0.4988 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.712e-05/0.1221, allocations: 27.69 kB / 0.4989 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.1222, allocations: 8 kB / 0.4989 GB, free: 15.46 MB / 382.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.0001578/0.1223, allocations: 149.8 kB / 0.499 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.1224, allocations: 23.62 kB / 0.499 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.1225, allocations: 34.17 kB / 0.4991 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1225, allocations: 7.938 kB / 0.4991 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1225, allocations: 0 / 0.4991 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1225, allocations: 3.984 kB / 0.4991 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007329/0.1232, allocations: 0.6761 MB / 0.4998 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1232, allocations: 0 / 0.4998 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.1234, allocations: 27.98 kB / 0.4998 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.1234, allocations: 7.938 kB / 0.4998 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1235, allocations: 7.938 kB / 0.4998 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1235, allocations: 0 / 0.4998 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1235, allocations: 0 / 0.4998 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.1239, allocations: 371.1 kB / 0.5001 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.124, allocations: 104.7 kB / 0.5002 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.124, allocations: 8 kB / 0.5003 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.1241, allocations: 4 kB / 0.5003 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.1241, allocations: 11.98 kB / 0.5003 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1242, allocations: 3.938 kB / 0.5003 GB, free: 13.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1243, allocations: 190 kB / 0.5005 GB, free: 13.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1243, allocations: 0 / 0.5005 GB, free: 13.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.1246, allocations: 83.44 kB / 0.5005 GB, free: 13.67 MB / 382.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.0006383/0.1253, allocations: 0.9064 MB / 0.5014 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.1256, allocations: 167.8 kB / 0.5016 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1256, allocations: 0 / 0.5016 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1257, allocations: 75.92 kB / 0.5017 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.1261, allocations: 37.25 kB / 0.5017 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.1291, allocations: 2.824 MB / 0.5044 GB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1295, allocations: 0.8143 MB / 0.5052 GB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.453e-05/0.1296, allocations: 22.14 kB / 0.5053 GB, free: 8.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.1298, allocations: 135.4 kB / 0.5054 GB, free: 8.531 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1298, allocations: 0 / 0.5054 GB, free: 8.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.1522, allocations: 4.941 MB / 0.5102 GB, free: 3.656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.363/7.516, allocations: 14.44 kB / 0.5102 GB, free: 3.645 MB / 382.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)