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.005111/0.005111, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001151/0.001151, allocations: 187 kB / 16.67 MB, free: 5.949 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2772/0.2772, allocations: 28.8 MB / 319.3 MB, free: 5.578 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 72.03 kB / 443.8 MB, free: 36.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 56.42 MB / 0.4885 GB, free: 8.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003004/0.1073, allocations: 2.101 MB / 0.4905 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.1082, allocations: 313.2 kB / 0.4908 GB, free: 7.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/0.1086, allocations: 10.5 kB / 0.4909 GB, free: 7.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.1089, allocations: 68.3 kB / 0.4909 GB, free: 6.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1092, allocations: 29.53 kB / 0.491 GB, free: 6.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.1095, allocations: 163.1 kB / 0.4911 GB, free: 6.781 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.1099, allocations: 403.3 kB / 0.4915 GB, free: 6.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004913/0.1104, allocations: 351.6 kB / 0.4918 GB, free: 6.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1106, allocations: 151.9 kB / 0.492 GB, free: 6.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1108, allocations: 190.2 kB / 0.4922 GB, free: 6.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.954e-05/0.1108, allocations: 48.16 kB / 0.4922 GB, free: 6.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.803e-05/0.1109, allocations: 44.59 kB / 0.4922 GB, free: 6.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.111, allocations: 102.3 kB / 0.4923 GB, free: 5.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1111, allocations: 213.2 kB / 0.4925 GB, free: 5.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.1115, allocations: 440.3 kB / 0.493 GB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1115, allocations: 0 / 0.493 GB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1115, allocations: 0 / 0.493 GB, free: 5.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.1115, allocations: 0 / 0.493 GB, free: 5.43 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.000873/0.1124, allocations: 0.7187 MB / 0.4937 GB, free: 4.797 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1124, allocations: 9.688 kB / 0.4937 GB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.1126, allocations: 94.2 kB / 0.4938 GB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.361e-05/0.1127, allocations: 60.3 kB / 0.4938 GB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.113, allocations: 327.7 kB / 0.4941 GB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.1131, allocations: 44.59 kB / 0.4942 GB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/0.1132, allocations: 51.16 kB / 0.4942 GB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.1137, allocations: 0.4909 MB / 0.4947 GB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1138, allocations: 3.938 kB / 0.4947 GB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.1138, allocations: 24 kB / 0.4947 GB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1138, allocations: 19.94 kB / 0.4947 GB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.1141, allocations: 281.1 kB / 0.495 GB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.1156, allocations: 1.635 MB / 0.4966 GB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.1159, allocations: 200.1 kB / 0.4968 GB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.116, allocations: 80.83 kB / 0.4969 GB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.116, allocations: 8 kB / 0.4969 GB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.116, allocations: 34.56 kB / 0.4969 GB, free: 1.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.116, allocations: 0 / 0.4969 GB, free: 1.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003691/0.1164, allocations: 256.1 kB / 0.4972 GB, free: 1.246 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.1164, allocations: 59.34 kB / 0.4972 GB, free: 1.176 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1166, allocations: 258.7 kB / 0.4975 GB, free: 0.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1166, allocations: 29.64 kB / 0.4975 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.1167, allocations: 263.6 kB / 0.4977 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.1168, allocations: 74.98 kB / 0.4978 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.1169, allocations: 49.7 kB / 0.4979 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.1169, allocations: 334.8 kB / 0.4982 GB, free: 160 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.433e-05/0.117, allocations: 63.98 kB / 0.4982 GB, free: 96 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.1171, allocations: 114 kB / 0.4984 GB, free: 15.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.1174, allocations: 189.8 kB / 0.4985 GB, free: 15.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1174, allocations: 0 / 0.4985 GB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003708/0.1178, allocations: 249 kB / 0.4988 GB, free: 15.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1178, allocations: 8 kB / 0.4988 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1178, allocations: 0 / 0.4988 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1178, allocations: 4 kB / 0.4988 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.118, allocations: 47.84 kB / 0.4988 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.118, allocations: 4 kB / 0.4988 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1181, allocations: 27.69 kB / 0.4989 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1182, allocations: 12 kB / 0.4989 GB, free: 15.4 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.0001484/0.1183, allocations: 150 kB / 0.499 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.1184, allocations: 27.62 kB / 0.499 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.384e-05/0.1185, allocations: 30.17 kB / 0.4991 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1185, allocations: 11.94 kB / 0.4991 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1185, allocations: 0 / 0.4991 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1185, allocations: 0 / 0.4991 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000751/0.1192, allocations: 0.6739 MB / 0.4997 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1193, allocations: 0 / 0.4997 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.1195, allocations: 31.98 kB / 0.4998 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.1195, allocations: 7.938 kB / 0.4998 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1195, allocations: 7.938 kB / 0.4998 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1195, allocations: 4 kB / 0.4998 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1195, allocations: 0 / 0.4998 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.1199, allocations: 369.7 kB / 0.5001 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.12, allocations: 104.7 kB / 0.5002 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.12, allocations: 8.031 kB / 0.5003 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1201, allocations: 8 kB / 0.5003 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.1202, allocations: 11.98 kB / 0.5003 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1202, allocations: 4 kB / 0.5003 GB, free: 13.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.1204, allocations: 182 kB / 0.5004 GB, free: 13.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1204, allocations: 0 / 0.5004 GB, free: 13.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.1207, allocations: 83.44 kB / 0.5005 GB, free: 13.61 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.0006849/0.1214, allocations: 0.9113 MB / 0.5014 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.1217, allocations: 171.8 kB / 0.5016 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1217, allocations: 0 / 0.5016 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1218, allocations: 79.92 kB / 0.5017 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1222, allocations: 35.28 kB / 0.5017 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.1253, allocations: 2.823 MB / 0.5044 GB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1257, allocations: 0.8065 MB / 0.5052 GB, free: 8.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.541e-05/0.1258, allocations: 21.94 kB / 0.5053 GB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.126, allocations: 139.4 kB / 0.5054 GB, free: 8.461 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.126, allocations: 0 / 0.5054 GB, free: 8.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.1499, allocations: 4.94 MB / 0.5102 GB, free: 3.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.659, allocations: 14.41 kB / 0.5102 GB, free: 3.578 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)