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.001461/0.001461, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.00164/0.00164, allocations: 217 kB / 22.25 MB, free: 5.082 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.393/1.393, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.1881/0.1881, allocations: 29.23 MB / 341.7 MB, free: 5.777 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="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: 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.001955/0.001955, allocations: 67.89 kB / 478.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2877, allocations: 60.8 MB / 0.5265 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003019/0.2907, allocations: 2.102 MB / 0.5286 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005351/0.2912, allocations: 309.1 kB / 0.5289 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.2916, allocations: 10.19 kB / 0.5289 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.2917, allocations: 70.09 kB / 0.529 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.14e-05/0.2918, allocations: 29.62 kB / 0.529 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.2921, allocations: 158 kB / 0.5291 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005682/0.2927, allocations: 394.2 kB / 0.5295 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.293, allocations: 282.9 kB / 0.5298 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.94e-05/0.2931, allocations: 157.2 kB / 0.5299 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.2932, allocations: 187.1 kB / 0.5301 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.347e-05/0.2933, allocations: 43.75 kB / 0.5301 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.403e-05/0.2934, allocations: 47.75 kB / 0.5302 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.2934, allocations: 108.3 kB / 0.5303 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2935, allocations: 204.5 kB / 0.5305 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.294, allocations: 442.9 kB / 0.5309 GB, free: 5.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.294, allocations: 0 / 0.5309 GB, free: 5.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.294, allocations: 1.469 kB / 0.5309 GB, free: 5.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.2941, allocations: 3.938 kB / 0.5309 GB, free: 5.043 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.0007264/0.2948, allocations: 0.6498 MB / 0.5316 GB, free: 4.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.2948, allocations: 10.72 kB / 0.5316 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.295, allocations: 99.48 kB / 0.5317 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.2951, allocations: 59.81 kB / 0.5317 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.2954, allocations: 270.4 kB / 0.532 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.2954, allocations: 48.53 kB / 0.532 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.2955, allocations: 51.94 kB / 0.5321 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.2962, allocations: 499.1 kB / 0.5325 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.2962, allocations: 9.078 kB / 0.5326 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.2962, allocations: 24.31 kB / 0.5326 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.2963, allocations: 18.38 kB / 0.5326 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.2967, allocations: 274.8 kB / 0.5329 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.2982, allocations: 1.584 MB / 0.5344 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.2985, allocations: 184.8 kB / 0.5346 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.933e-05/0.2986, allocations: 84.59 kB / 0.5347 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.2986, allocations: 1.281 kB / 0.5347 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/0.2987, allocations: 40.23 kB / 0.5347 GB, free: 2.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.2987, allocations: 1.188 kB / 0.5347 GB, free: 2.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003704/0.299, allocations: 250.9 kB / 0.5349 GB, free: 2.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.787e-05/0.299, allocations: 58.25 kB / 0.535 GB, free: 2.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.2994, allocations: 259.4 kB / 0.5352 GB, free: 2.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.2995, allocations: 26.98 kB / 0.5353 GB, free: 2.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.2996, allocations: 267.8 kB / 0.5355 GB, free: 1.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.2996, allocations: 74.56 kB / 0.5356 GB, free: 1.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.2997, allocations: 53.44 kB / 0.5356 GB, free: 1.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.2997, allocations: 334.2 kB / 0.536 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.014e-05/0.2998, allocations: 64.91 kB / 0.536 GB, free: 1.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.2999, allocations: 112.1 kB / 0.5361 GB, free: 1.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.3001, allocations: 203 kB / 0.5363 GB, free: 1.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3001, allocations: 0 / 0.5363 GB, free: 1.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003476/0.3004, allocations: 247.5 kB / 0.5366 GB, free: 1.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.3005, allocations: 4.5 kB / 0.5366 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3005, allocations: 3.406 kB / 0.5366 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3005, allocations: 2.75 kB / 0.5366 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.3007, allocations: 45.55 kB / 0.5366 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3007, allocations: 4.578 kB / 0.5366 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.3008, allocations: 25.64 kB / 0.5366 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.3008, allocations: 11.64 kB / 0.5367 GB, free: 1.055 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.0001017/0.3009, allocations: 154.9 kB / 0.5368 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.3009, allocations: 27.67 kB / 0.5368 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.301, allocations: 32.08 kB / 0.5369 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.301, allocations: 6 kB / 0.5369 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.301, allocations: 1.219 kB / 0.5369 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.301, allocations: 0.7969 kB / 0.5369 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.3016, allocations: 0.644 MB / 0.5375 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3016, allocations: 5.359 kB / 0.5375 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.3018, allocations: 32.16 kB / 0.5375 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3018, allocations: 9.312 kB / 0.5375 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3018, allocations: 5.938 kB / 0.5375 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3018, allocations: 1.375 kB / 0.5375 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3018, allocations: 0 / 0.5375 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.3022, allocations: 364.5 kB / 0.5379 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.3022, allocations: 29.48 kB / 0.5379 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.3022, allocations: 6.172 kB / 0.5379 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.3023, allocations: 5.375 kB / 0.5379 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.3023, allocations: 14.55 kB / 0.5379 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.3024, allocations: 6.75 kB / 0.538 GB, free: 152 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.3025, allocations: 186.4 kB / 0.5381 GB, free: 40 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3025, allocations: 0 / 0.5381 GB, free: 40 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003249/0.3028, allocations: 78.38 kB / 0.5382 GB, free: 8 kB / 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.0007195/0.3035, allocations: 0.9094 MB / 0.5391 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.3039, allocations: 167.7 kB / 0.5393 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3039, allocations: 0 / 0.5393 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.304, allocations: 80.56 kB / 0.5393 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.3043, allocations: 37.61 kB / 0.5394 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.3077, allocations: 2.818 MB / 0.5421 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.3081, allocations: 0.8086 MB / 0.5429 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.3082, allocations: 16.73 kB / 0.5429 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.3084, allocations: 139.2 kB / 0.5431 GB, free: 12.11 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3084, allocations: 0 / 0.5431 GB, free: 12.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.3447, allocations: 5.033 MB / 0.548 GB, free: 9.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.52, allocations: 5.125 kB / 0.548 GB, free: 9.598 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.240908351028338] Failed to read output from testmodel.py, exit status != 0: 11.62357629579492 11.642341706 11.344560534 Calling exit ...