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.000866/0.000866, 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.0008378/0.0008378, 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.9594/0.9594, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.1436/0.1436, allocations: 21.79 MB / 281 MB, free: 7.395 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.445e-06/2.445e-06, allocations: 0 / 417.7 MB, free: 6.012 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.65e-05, allocations: 3.969 kB / 417.7 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002213/0.002229, allocations: 1.833 MB / 419.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007975/0.003027, allocations: 310.9 kB / 419.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.003254, allocations: 9.281 kB / 419.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.00345, allocations: 65.61 kB / 419.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.402e-05/0.003544, allocations: 33.81 kB / 419.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.003846, allocations: 158.4 kB / 420.1 MB, free: 4.391 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004141/0.00426, allocations: 402.1 kB / 420.5 MB, free: 4.199 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.004639, allocations: 259.8 kB / 420.7 MB, free: 4.047 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.004864, allocations: 231.4 kB / 421 MB, free: 3.934 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.005014, allocations: 127.7 kB / 421.1 MB, free: 3.875 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.226e-05/0.005076, allocations: 43.56 kB / 421.1 MB, free: 3.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.309e-05/0.005119, allocations: 44.25 kB / 421.2 MB, free: 3.875 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.005182, allocations: 106.7 kB / 421.3 MB, free: 3.801 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.822e-05/0.00527, allocations: 134.1 kB / 421.4 MB, free: 3.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.005658, allocations: 447.2 kB / 421.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00566, allocations: 0 / 421.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005661, allocations: 0 / 421.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.005672, allocations: 1.375 kB / 421.8 MB, free: 3.496 MB / 330.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.0006433/0.006315, allocations: 0.638 MB / 422.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.006357, allocations: 9.188 kB / 422.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.00647, allocations: 107.7 kB / 422.6 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.006531, allocations: 60.16 kB / 422.6 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.006817, allocations: 273.6 kB / 422.9 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.006847, allocations: 44 kB / 423 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.006895, allocations: 52.67 kB / 423 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.00744, allocations: 498 kB / 423.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.007452, allocations: 192 / 423.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.007475, allocations: 26.16 kB / 423.5 MB, free: 2.363 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.007489, allocations: 16.5 kB / 423.5 MB, free: 2.359 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.007839, allocations: 277.3 kB / 423.8 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.009154, allocations: 1.489 MB / 425.3 MB, free: 1.148 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.009437, allocations: 180.4 kB / 425.5 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.009526, allocations: 80.34 kB / 425.6 MB, free: 1.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.009542, allocations: 2.25 kB / 425.6 MB, free: 1.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.009557, allocations: 36.44 kB / 425.6 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.009559, allocations: 3.938 kB / 425.6 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003298/0.009888, allocations: 249.3 kB / 425.8 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.00991, allocations: 54.28 kB / 425.9 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.01013, allocations: 271.5 kB / 426.2 MB, free: 0.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.01015, allocations: 27.08 kB / 426.2 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.01025, allocations: 267.8 kB / 426.4 MB, free: 388 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.01028, allocations: 74.17 kB / 426.5 MB, free: 328 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.01034, allocations: 45.56 kB / 426.6 MB, free: 296 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.01042, allocations: 341.3 kB / 426.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.0105, allocations: 65.92 kB / 427 MB, free: 15.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.01062, allocations: 115.3 kB / 427.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.01082, allocations: 195.6 kB / 427.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01082, allocations: 1.156 kB / 427.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002787/0.0111, allocations: 247.6 kB / 427.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01111, allocations: 6.438 kB / 427.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01112, allocations: 1.406 kB / 427.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.01113, allocations: 7.484 kB / 427.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.01124, allocations: 42.14 kB / 427.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.01125, allocations: 3.094 kB / 427.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.0113, allocations: 30.89 kB / 427.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.01132, allocations: 10.72 kB / 427.6 MB, free: 15.55 MB / 346.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.0001133/0.01143, allocations: 148.4 kB / 427.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.01146, allocations: 27.44 kB / 427.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.0115, allocations: 31.19 kB / 427.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01151, allocations: 2.719 kB / 427.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01151, allocations: 0.6562 kB / 427.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01151, allocations: 6.625 kB / 427.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.01208, allocations: 0.6185 MB / 428.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01209, allocations: 0.75 kB / 428.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.01219, allocations: 36.7 kB / 428.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.0122, allocations: 1.406 kB / 428.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01221, allocations: 5.406 kB / 428.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.01221, allocations: 5.812 kB / 428.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01221, allocations: 0 / 428.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.01256, allocations: 364.8 kB / 428.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.01259, allocations: 29.23 kB / 428.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.0126, allocations: 9.25 kB / 428.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.01266, allocations: 13.69 kB / 428.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.01268, allocations: 14.67 kB / 428.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.01269, allocations: 3.656 kB / 428.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.01283, allocations: 187 kB / 429.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01283, allocations: 0 / 429.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.01304, allocations: 78.12 kB / 429.2 MB, free: 14.52 MB / 346.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.0005087/0.01355, allocations: 0.9028 MB / 430.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.01378, allocations: 164.1 kB / 430.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01378, allocations: 5.062 kB / 430.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.01386, allocations: 77.38 kB / 430.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.01412, allocations: 41.31 kB / 430.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.0167, allocations: 2.828 MB / 433.2 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.01688, allocations: 209.2 kB / 433.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.779e-05/0.01695, allocations: 19.78 kB / 433.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.01708, allocations: 136.2 kB / 433.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01708, allocations: 1.062 kB / 433.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.03903, allocations: 5.478 MB / 439 MB, free: 9.078 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.509/6.548, allocations: 5.359 kB / 439 MB, free: 9.074 MB / 346.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 & /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: 8.845013361424208] Failed to read output from testmodel.py, exit status != 0: 6.630706742405891 6.639172567 6.631702103 Calling exit ...