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.004723/0.004723, allocations: 98.66 kB / 15.73 MB, free: 5.988 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.001284/0.001284, allocations: 193.8 kB / 16.67 MB, free: 5.918 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3217/0.3217, allocations: 28.81 MB / 319.4 MB, free: 5.621 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.33 kB / 443.8 MB, free: 37.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08428/0.08612, allocations: 56.43 MB / 0.4885 GB, free: 9.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.00251/0.08867, allocations: 2.097 MB / 0.4906 GB, free: 7.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004949/0.08918, allocations: 320.4 kB / 0.4909 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.08936, allocations: 6.875 kB / 0.4909 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.08955, allocations: 60.62 kB / 0.4909 GB, free: 7.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.08966, allocations: 36.88 kB / 0.491 GB, free: 7.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.08989, allocations: 156.4 kB / 0.4911 GB, free: 6.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.09021, allocations: 408.9 kB / 0.4915 GB, free: 6.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.0906, allocations: 349 kB / 0.4918 GB, free: 6.387 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.369e-05/0.0907, allocations: 158.9 kB / 0.492 GB, free: 6.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.09083, allocations: 187.2 kB / 0.4922 GB, free: 6.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.09089, allocations: 43.62 kB / 0.4922 GB, free: 6.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.065e-05/0.09095, allocations: 44.97 kB / 0.4922 GB, free: 6.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.09101, allocations: 105.7 kB / 0.4923 GB, free: 6.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.09112, allocations: 209.3 kB / 0.4925 GB, free: 5.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.09147, allocations: 451.8 kB / 0.493 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.09148, allocations: 1.188 kB / 0.493 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09149, allocations: 0 / 0.493 GB, free: 5.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.0915, allocations: 0 / 0.493 GB, free: 5.504 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.0007189/0.09223, allocations: 0.7215 MB / 0.4937 GB, free: 4.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.09227, allocations: 9.75 kB / 0.4937 GB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.651e-05/0.09237, allocations: 105.3 kB / 0.4938 GB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/0.09244, allocations: 55.98 kB / 0.4938 GB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.09277, allocations: 333.6 kB / 0.4942 GB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.09281, allocations: 43.47 kB / 0.4942 GB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.09288, allocations: 56.53 kB / 0.4943 GB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.09342, allocations: 494.5 kB / 0.4947 GB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.09344, allocations: 7.875 kB / 0.4947 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.09348, allocations: 24 kB / 0.4948 GB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.09349, allocations: 16 kB / 0.4948 GB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.09383, allocations: 281.1 kB / 0.495 GB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.09509, allocations: 1.639 MB / 0.4966 GB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.09537, allocations: 198.6 kB / 0.4968 GB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.09548, allocations: 89.11 kB / 0.4969 GB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.0955, allocations: 4 kB / 0.4969 GB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.09551, allocations: 38.52 kB / 0.497 GB, free: 1.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.09552, allocations: 0 / 0.497 GB, free: 1.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003486/0.09587, allocations: 247.9 kB / 0.4972 GB, free: 1.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.0959, allocations: 63.28 kB / 0.4973 GB, free: 1.266 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.09607, allocations: 258.7 kB / 0.4975 GB, free: 1.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.09609, allocations: 33.7 kB / 0.4975 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.09617, allocations: 272.2 kB / 0.4978 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.09621, allocations: 67.39 kB / 0.4979 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.09627, allocations: 45.7 kB / 0.4979 GB, free: 0.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.09632, allocations: 338.8 kB / 0.4982 GB, free: 248 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.09641, allocations: 63.97 kB / 0.4983 GB, free: 184 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.24e-05/0.0965, allocations: 118 kB / 0.4984 GB, free: 44 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.09679, allocations: 201.8 kB / 0.4986 GB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.09681, allocations: 0 / 0.4986 GB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003596/0.09717, allocations: 237.2 kB / 0.4988 GB, free: 15.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.09719, allocations: 8 kB / 0.4988 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.0972, allocations: 0 / 0.4988 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.09722, allocations: 4 kB / 0.4988 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.09742, allocations: 47.86 kB / 0.4989 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.09743, allocations: 4 kB / 0.4989 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.09754, allocations: 35.92 kB / 0.4989 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.09756, allocations: 4 kB / 0.4989 GB, free: 15.48 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.0001595/0.09773, allocations: 153.8 kB / 0.4991 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.09778, allocations: 23.86 kB / 0.4991 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.09785, allocations: 30.17 kB / 0.4991 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.09787, allocations: 7.938 kB / 0.4991 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.09787, allocations: 0 / 0.4991 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.09788, allocations: 0 / 0.4991 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007802/0.09867, allocations: 0.6777 MB / 0.4998 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.09868, allocations: 4 kB / 0.4998 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.09886, allocations: 31.98 kB / 0.4998 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.09888, allocations: 3.938 kB / 0.4998 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.0989, allocations: 7.938 kB / 0.4998 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.09891, allocations: 4 kB / 0.4998 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.09891, allocations: 3.938 kB / 0.4998 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.09937, allocations: 366 kB / 0.5002 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.09946, allocations: 112.9 kB / 0.5003 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.0995, allocations: 8 kB / 0.5003 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.704e-05/0.0996, allocations: 0 / 0.5003 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.09964, allocations: 15.98 kB / 0.5003 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.09965, allocations: 7.938 kB / 0.5003 GB, free: 13.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.09982, allocations: 186 kB / 0.5005 GB, free: 13.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09983, allocations: 0 / 0.5005 GB, free: 13.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1001, allocations: 83.58 kB / 0.5006 GB, free: 13.68 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.0007451/0.1009, allocations: 0.9039 MB / 0.5015 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.1012, allocations: 175.7 kB / 0.5016 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1013, allocations: 0 / 0.5016 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1014, allocations: 79.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.000353/0.1017, allocations: 39.28 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.003178/0.1049, allocations: 2.836 MB / 0.5045 GB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.1054, allocations: 0.8065 MB / 0.5053 GB, free: 8.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.386e-05/0.1055, allocations: 25.89 kB / 0.5053 GB, free: 8.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.1056, allocations: 131.4 kB / 0.5055 GB, free: 8.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1056, allocations: 0 / 0.5055 GB, free: 8.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.189/0.2947, allocations: 4.878 MB / 0.5102 GB, free: 3.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.51, allocations: 10.03 kB / 0.5102 GB, free: 3.699 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)