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.0008886/0.0008886, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001166/0.001166, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9174/0.9174, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 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.1153/0.1153, allocations: 21.79 MB / 281 MB, free: 7.391 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 3.938 kB / 417.7 MB, free: 9.449 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/2.089e-05, allocations: 2.281 kB / 417.7 MB, free: 9.445 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002405/0.002426, allocations: 1.826 MB / 419.5 MB, free: 7.621 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005768/0.003003, allocations: 315.1 kB / 419.8 MB, free: 7.312 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.003186, allocations: 7.938 kB / 419.8 MB, free: 7.305 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.003349, allocations: 67.17 kB / 419.9 MB, free: 7.238 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.272e-05/0.003431, allocations: 39.5 kB / 419.9 MB, free: 7.199 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.003685, allocations: 155.8 kB / 420.1 MB, free: 7.047 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.004052, allocations: 404.5 kB / 420.5 MB, free: 6.648 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.004397, allocations: 266.7 kB / 420.7 MB, free: 6.375 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.004562, allocations: 235.5 kB / 421 MB, free: 6.145 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.004665, allocations: 119.5 kB / 421.1 MB, free: 6.027 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.004714, allocations: 51.98 kB / 421.1 MB, free: 5.977 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.17e-05/0.004746, allocations: 44 kB / 421.2 MB, free: 5.934 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.004811, allocations: 103.6 kB / 421.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.216e-05/0.004893, allocations: 127.6 kB / 421.4 MB, free: 5.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.005251, allocations: 450.2 kB / 421.8 MB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.005254, allocations: 0 / 421.8 MB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005255, allocations: 0 / 421.8 MB, free: 5.266 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.453e-06/0.005261, allocations: 0 / 421.8 MB, free: 5.266 MB / 394.7 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.0006652/0.005926, allocations: 0.6381 MB / 422.5 MB, free: 4.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.005969, allocations: 8.031 kB / 422.5 MB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.00608, allocations: 107.9 kB / 422.6 MB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.006138, allocations: 56.59 kB / 422.7 MB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.006443, allocations: 269.8 kB / 422.9 MB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.006471, allocations: 45.69 kB / 423 MB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.006516, allocations: 56.36 kB / 423 MB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.007007, allocations: 495.7 kB / 423.5 MB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.007023, allocations: 4.125 kB / 423.5 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.007054, allocations: 20.38 kB / 423.5 MB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.007067, allocations: 20.12 kB / 423.5 MB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.007383, allocations: 277.1 kB / 423.8 MB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.008823, allocations: 1.482 MB / 425.3 MB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.009131, allocations: 186.6 kB / 425.5 MB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.515e-05/0.009217, allocations: 76.84 kB / 425.6 MB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.009231, allocations: 4 kB / 425.6 MB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.009253, allocations: 38.55 kB / 425.6 MB, free: 1.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.009254, allocations: 4 kB / 425.6 MB, free: 1.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.000334/0.009588, allocations: 245.7 kB / 425.8 MB, free: 1.078 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.009625, allocations: 55.41 kB / 425.9 MB, free: 1.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.009814, allocations: 261.8 kB / 426.1 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.00983, allocations: 25.7 kB / 426.2 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.009945, allocations: 276.2 kB / 426.4 MB, free: 452 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.00998, allocations: 71.39 kB / 426.5 MB, free: 380 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.01003, allocations: 49.7 kB / 426.6 MB, free: 324 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.01013, allocations: 342.7 kB / 426.9 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.01021, allocations: 67.91 kB / 427 MB, free: 15.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-05/0.0103, allocations: 114 kB / 427.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.01049, allocations: 195.9 kB / 427.3 MB, free: 15.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.0105, allocations: 0 / 427.3 MB, free: 15.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002642/0.01076, allocations: 249.1 kB / 427.5 MB, free: 15.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.01078, allocations: 8 kB / 427.5 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01079, allocations: 0 / 427.5 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.01081, allocations: 4 kB / 427.5 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.01092, allocations: 39.92 kB / 427.6 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.01093, allocations: 4 kB / 427.6 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.01099, allocations: 35.91 kB / 427.6 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.01101, allocations: 12 kB / 427.6 MB, free: 15.21 MB / 410.7 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.0001395/0.01115, allocations: 157.7 kB / 427.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.01118, allocations: 27.81 kB / 427.8 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.01123, allocations: 26.12 kB / 427.8 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01123, allocations: 4 kB / 427.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.01124, allocations: 3.984 kB / 427.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01124, allocations: 0 / 427.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.01183, allocations: 0.6194 MB / 428.4 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01183, allocations: 0 / 428.4 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.01194, allocations: 35.98 kB / 428.5 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01194, allocations: 0 / 428.5 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.01196, allocations: 4 kB / 428.5 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.01196, allocations: 7.875 kB / 428.5 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01197, allocations: 4 kB / 428.5 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.01231, allocations: 362.4 kB / 428.8 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.01234, allocations: 31.78 kB / 428.9 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01236, allocations: 4 kB / 428.9 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.01241, allocations: 7.938 kB / 428.9 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.01243, allocations: 11.98 kB / 428.9 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.01244, allocations: 4 kB / 428.9 MB, free: 13.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.01255, allocations: 189.2 kB / 429.1 MB, free: 13.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01255, allocations: 0 / 429.1 MB, free: 13.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00021/0.01276, allocations: 79.62 kB / 429.2 MB, free: 13.57 MB / 410.7 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.0004827/0.01324, allocations: 0.9034 MB / 430.1 MB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.01344, allocations: 158.8 kB / 430.2 MB, free: 12.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01345, allocations: 7.875 kB / 430.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.01352, allocations: 83.86 kB / 430.3 MB, free: 12.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.01377, allocations: 40.72 kB / 430.4 MB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.01595, allocations: 2.822 MB / 433.2 MB, free: 9.422 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.01608, allocations: 210.7 kB / 433.4 MB, free: 9.199 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.248e-05/0.01614, allocations: 25.94 kB / 433.4 MB, free: 9.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.01627, allocations: 132.5 kB / 433.5 MB, free: 9.043 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01627, allocations: 0 / 433.5 MB, free: 9.043 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.03492, allocations: 5.468 MB / 439 MB, free: 3.684 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.724, allocations: 12.78 kB / 439 MB, free: 3.68 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_res.csv --start-time 0 --stop-time 5000 --timeout 50 --relative-tolerance 1e-11 --interface-type ModelExchange --solver CVode --output-interval 2 SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.15014773979783] Failed to read output from testmodel.py, exit status != 0: 6.804265241138637 6.969288856 6.962661207 Calling exit ...