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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 217.9 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.316/1.316, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.1723/0.1723, allocations: 29.22 MB / 342.4 MB, free: 5.797 MB / 270.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 63.91 kB / 479.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2988, allocations: 60.79 MB / 0.5273 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002825/0.3016, allocations: 2.111 MB / 0.5293 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005426/0.3022, allocations: 313.9 kB / 0.5296 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.3023, allocations: 10.5 kB / 0.5297 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.3025, allocations: 64.84 kB / 0.5297 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.77e-05/0.3026, allocations: 34.48 kB / 0.5298 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.3029, allocations: 153.8 kB / 0.5299 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.3034, allocations: 399 kB / 0.5303 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.3038, allocations: 282.5 kB / 0.5305 GB, free: 5.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.3039, allocations: 153.2 kB / 0.5307 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.3041, allocations: 186.8 kB / 0.5309 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.3041, allocations: 44.72 kB / 0.5309 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.702e-05/0.3042, allocations: 43.16 kB / 0.531 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.3043, allocations: 107.1 kB / 0.5311 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.3044, allocations: 209.7 kB / 0.5313 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.3048, allocations: 442.8 kB / 0.5317 GB, free: 5.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3048, allocations: 0.75 kB / 0.5317 GB, free: 5.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3048, allocations: 0 / 0.5317 GB, free: 5.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.3048, allocations: 0 / 0.5317 GB, free: 5.055 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.0007605/0.3055, allocations: 0.651 MB / 0.5323 GB, free: 4.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3056, allocations: 14.19 kB / 0.5323 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.431e-05/0.3056, allocations: 15.06 kB / 0.5323 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.3057, allocations: 101.5 kB / 0.5324 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.545e-05/0.3058, allocations: 64.44 kB / 0.5325 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3061, allocations: 272.1 kB / 0.5328 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.3062, allocations: 48.84 kB / 0.5328 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.3062, allocations: 53 kB / 0.5329 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.3069, allocations: 0.5014 MB / 0.5334 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3069, allocations: 5.062 kB / 0.5334 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.3069, allocations: 20.75 kB / 0.5334 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.307, allocations: 18.44 kB / 0.5334 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.3074, allocations: 286.7 kB / 0.5337 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3089, allocations: 1.58 MB / 0.5352 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.3092, allocations: 191.3 kB / 0.5354 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.3094, allocations: 91.86 kB / 0.5355 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3094, allocations: 2.688 kB / 0.5355 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.3094, allocations: 36.59 kB / 0.5355 GB, free: 2.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.232e-06/0.3094, allocations: 0 / 0.5355 GB, free: 2.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009496/0.3103, allocations: 0.6971 MB / 0.5362 GB, free: 2.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.3104, allocations: 54.81 kB / 0.5362 GB, free: 1.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.3106, allocations: 259.3 kB / 0.5365 GB, free: 1.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3106, allocations: 31.62 kB / 0.5365 GB, free: 1.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3107, allocations: 262.3 kB / 0.5368 GB, free: 1.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.3108, allocations: 111.6 kB / 0.5369 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.3108, allocations: 60.02 kB / 0.5369 GB, free: 1.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.3109, allocations: 342.3 kB / 0.5373 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.311, allocations: 70.17 kB / 0.5373 GB, free: 1.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.3111, allocations: 128.9 kB / 0.5375 GB, free: 1.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.3114, allocations: 222 kB / 0.5377 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3114, allocations: 1.375 kB / 0.5377 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003309/0.3117, allocations: 282.3 kB / 0.5379 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3117, allocations: 6.109 kB / 0.5379 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3117, allocations: 1.375 kB / 0.5379 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3117, allocations: 8.625 kB / 0.538 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.3119, allocations: 60.33 kB / 0.538 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.312, allocations: 7.344 kB / 0.538 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.21e-05/0.312, allocations: 8.266 kB / 0.538 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.3121, allocations: 10.75 kB / 0.538 GB, free: 0.7188 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 (38): * Single equations (assignments): 38 * 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.0001132/0.3122, allocations: 157.3 kB / 0.5382 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.3122, allocations: 32.44 kB / 0.5382 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.3123, allocations: 36.28 kB / 0.5383 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3123, allocations: 8.312 kB / 0.5383 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3123, allocations: 0 / 0.5383 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3123, allocations: 3.078 kB / 0.5383 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008425/0.3131, allocations: 0.7498 MB / 0.539 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3131, allocations: 1.281 kB / 0.539 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.3133, allocations: 52.48 kB / 0.539 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.3134, allocations: 2.844 kB / 0.5391 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3134, allocations: 5.375 kB / 0.5391 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3134, allocations: 2.812 kB / 0.5391 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3134, allocations: 1.406 kB / 0.5391 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.3139, allocations: 451 kB / 0.5395 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.314, allocations: 28.19 kB / 0.5395 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.314, allocations: 10.73 kB / 0.5395 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3141, allocations: 6.75 kB / 0.5395 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.3141, allocations: 14.84 kB / 0.5395 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3141, allocations: 9.5 kB / 0.5396 GB, free: 15.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.3143, allocations: 188.2 kB / 0.5397 GB, free: 15.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3143, allocations: 0 / 0.5397 GB, free: 15.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.3146, allocations: 58.56 kB / 0.5398 GB, free: 15.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 ($outputAlias_x1,$outputAlias_x2,$outputAlias_x3) * 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 (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 Backend phase and start with SimCode phase: time 0.0007879/0.3154, allocations: 0.994 MB / 0.5408 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.3157, allocations: 190.7 kB / 0.5409 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3157, allocations: 0 / 0.5409 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.3159, allocations: 100.4 kB / 0.541 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.3162, allocations: 35.88 kB / 0.5411 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.3196, allocations: 2.993 MB / 0.544 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.32, allocations: 0.8264 MB / 0.5448 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.828e-05/0.3201, allocations: 27.69 kB / 0.5448 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.3203, allocations: 142.4 kB / 0.545 GB, free: 11.4 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3203, allocations: 0 / 0.545 GB, free: 11.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.3477, allocations: 5.513 MB / 0.5503 GB, free: 8.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.04, allocations: 9.266 kB / 0.5504 GB, free: 8.664 MB / 398.1 MB " [Timeout remaining time 649] (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: 13.664548133965582] Failed to read output from testmodel.py, exit status != 0: 11.206472344929352 11.220690833 10.913142678 Calling exit ...