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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 105.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1846/0.1846, allocations: 29.22 MB / 331.9 MB, free: 12.48 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.91 kB / 464.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3013, allocations: 59.56 MB / 0.5119 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002598/0.3039, allocations: 2.11 MB / 0.514 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005238/0.3044, allocations: 314.7 kB / 0.5143 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.3046, allocations: 7.281 kB / 0.5143 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.3048, allocations: 62.33 kB / 0.5144 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3049, allocations: 39.8 kB / 0.5144 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.3052, allocations: 154.1 kB / 0.5145 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.3056, allocations: 410.1 kB / 0.5149 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.3059, allocations: 277.9 kB / 0.5152 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.306, allocations: 161.5 kB / 0.5154 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.3062, allocations: 192.2 kB / 0.5155 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.3062, allocations: 43.94 kB / 0.5156 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.591e-05/0.3063, allocations: 43.91 kB / 0.5156 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.3063, allocations: 102.7 kB / 0.5157 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3064, allocations: 210.3 kB / 0.5159 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.3068, allocations: 445.6 kB / 0.5163 GB, free: 6.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3068, allocations: 0 / 0.5163 GB, free: 6.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3068, allocations: 1.125 kB / 0.5163 GB, free: 6.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3068, allocations: 0 / 0.5163 GB, free: 6.145 MB / 382.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.0007312/0.3076, allocations: 0.7259 MB / 0.5171 GB, free: 5.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3076, allocations: 9.219 kB / 0.5171 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.3077, allocations: 104 kB / 0.5172 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.3078, allocations: 56.8 kB / 0.5172 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.3081, allocations: 340.5 kB / 0.5175 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.3081, allocations: 39.88 kB / 0.5176 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.3082, allocations: 56.41 kB / 0.5176 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.3088, allocations: 0.4909 MB / 0.5181 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3088, allocations: 4.875 kB / 0.5181 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.3088, allocations: 21.2 kB / 0.5181 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.3089, allocations: 14 kB / 0.5181 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.3092, allocations: 282 kB / 0.5184 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.3107, allocations: 1.639 MB / 0.52 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.311, allocations: 187.9 kB / 0.5202 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3111, allocations: 80.47 kB / 0.5203 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.3112, allocations: 2.031 kB / 0.5203 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.3112, allocations: 36.98 kB / 0.5203 GB, free: 3.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.3112, allocations: 0 / 0.5203 GB, free: 3.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003824/0.3116, allocations: 251.5 kB / 0.5206 GB, free: 3.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.3116, allocations: 57.44 kB / 0.5206 GB, free: 3.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3118, allocations: 260 kB / 0.5209 GB, free: 3.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.3118, allocations: 30.67 kB / 0.5209 GB, free: 3.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3119, allocations: 268.9 kB / 0.5211 GB, free: 2.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.3119, allocations: 74.16 kB / 0.5212 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.312, allocations: 45.89 kB / 0.5213 GB, free: 2.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.347e-05/0.3121, allocations: 338 kB / 0.5216 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.3121, allocations: 60.77 kB / 0.5216 GB, free: 2.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3123, allocations: 119.2 kB / 0.5217 GB, free: 2.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.3125, allocations: 200.9 kB / 0.5219 GB, free: 2.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3125, allocations: 1.406 kB / 0.5219 GB, free: 2.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002942/0.3128, allocations: 241.3 kB / 0.5222 GB, free: 2.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3128, allocations: 6.375 kB / 0.5222 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3128, allocations: 2.094 kB / 0.5222 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3128, allocations: 3.062 kB / 0.5222 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.313, allocations: 48.84 kB / 0.5222 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.313, allocations: 7.938 kB / 0.5222 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.535e-05/0.3131, allocations: 34.23 kB / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.3131, allocations: 15.56 kB / 0.5223 GB, free: 1.961 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.0001033/0.3132, allocations: 147.8 kB / 0.5224 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.3132, allocations: 23.64 kB / 0.5224 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.3133, allocations: 31.89 kB / 0.5225 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3133, allocations: 6.281 kB / 0.5225 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3133, allocations: 0.6094 kB / 0.5225 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3133, allocations: 6.531 kB / 0.5225 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.3139, allocations: 0.6728 MB / 0.5231 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3139, allocations: 0 / 0.5231 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.3141, allocations: 41.22 kB / 0.5232 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3141, allocations: 5.953 kB / 0.5232 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3141, allocations: 5.312 kB / 0.5232 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3141, allocations: 0.5625 kB / 0.5232 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3141, allocations: 1.25 kB / 0.5232 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.3145, allocations: 367.4 kB / 0.5235 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.3145, allocations: 104 kB / 0.5236 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.3145, allocations: 7.078 kB / 0.5237 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/0.3146, allocations: 1.312 kB / 0.5237 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.3147, allocations: 13.73 kB / 0.5237 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3147, allocations: 3.469 kB / 0.5237 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.3148, allocations: 190.9 kB / 0.5239 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3148, allocations: 0 / 0.5239 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.3151, allocations: 87.39 kB / 0.5239 GB, free: 0.7852 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.0004864/0.3156, allocations: 0.8996 MB / 0.5248 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.3159, allocations: 159.1 kB / 0.525 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3159, allocations: 0 / 0.525 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.316, allocations: 81.67 kB / 0.525 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3164, allocations: 31.8 kB / 0.5251 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.3196, allocations: 2.833 MB / 0.5278 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.3201, allocations: 0.8126 MB / 0.5286 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.797e-05/0.3202, allocations: 23.44 kB / 0.5287 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.3203, allocations: 135.4 kB / 0.5288 GB, free: 13.14 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3203, allocations: 4.656 kB / 0.5288 GB, free: 13.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.3481, allocations: 4.9 MB / 0.5336 GB, free: 12.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.406, allocations: 16.94 kB / 0.5336 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 652] (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 --stepSize=2 --timeout=50 --tolerance=1e-11 SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.26102567370981] Failed to read output from testmodel.py, exit status != 0: 8.479655753355473 8.51103638 8.198960115 Calling exit ...