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.001508/0.001508, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001639/0.001639, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.357/1.357, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1738/0.1738, allocations: 29.23 MB / 342.4 MB, free: 5.609 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.001856/0.001856, allocations: 72.17 kB / 479.1 MB, free: 444 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3106, allocations: 60.79 MB / 0.5272 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002718/0.3133, allocations: 1.815 MB / 0.529 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000545/0.3139, allocations: 305.9 kB / 0.5293 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.314, allocations: 10.88 kB / 0.5293 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.3143, allocations: 73.05 kB / 0.5294 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.3144, allocations: 33.91 kB / 0.5294 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.3146, allocations: 158 kB / 0.5295 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.3151, allocations: 391 kB / 0.5299 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/0.3155, allocations: 277.2 kB / 0.5302 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3156, allocations: 158.2 kB / 0.5303 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3158, allocations: 195.8 kB / 0.5305 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/0.3158, allocations: 47.62 kB / 0.5306 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.3159, allocations: 47.72 kB / 0.5306 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.3159, allocations: 103.6 kB / 0.5307 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.3161, allocations: 160.8 kB / 0.5309 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.3165, allocations: 444.4 kB / 0.5313 GB, free: 5.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3165, allocations: 0 / 0.5313 GB, free: 5.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3165, allocations: 0 / 0.5313 GB, free: 5.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3165, allocations: 1.188 kB / 0.5313 GB, free: 5.254 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.0007382/0.3172, allocations: 0.6501 MB / 0.5319 GB, free: 4.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3173, allocations: 10.72 kB / 0.5319 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.434e-05/0.3173, allocations: 16.02 kB / 0.532 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.3174, allocations: 105.6 kB / 0.5321 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.3175, allocations: 60.16 kB / 0.5321 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.3178, allocations: 272.3 kB / 0.5324 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.3178, allocations: 44.97 kB / 0.5324 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.3179, allocations: 53.38 kB / 0.5325 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.3186, allocations: 0.5031 MB / 0.533 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.3186, allocations: 5.219 kB / 0.533 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.3187, allocations: 21.19 kB / 0.533 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.3187, allocations: 14.03 kB / 0.533 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.3191, allocations: 289.5 kB / 0.5333 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.3206, allocations: 1.492 MB / 0.5347 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.3209, allocations: 181.5 kB / 0.5349 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.3211, allocations: 102.4 kB / 0.535 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3211, allocations: 4 kB / 0.535 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.3211, allocations: 33.27 kB / 0.535 GB, free: 2.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.282e-06/0.3211, allocations: 0 / 0.535 GB, free: 2.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001108/0.3222, allocations: 0.6927 MB / 0.5357 GB, free: 2.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3222, allocations: 55.52 kB / 0.5358 GB, free: 2.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.3225, allocations: 263.3 kB / 0.536 GB, free: 2.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3225, allocations: 31.36 kB / 0.536 GB, free: 2.031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.3227, allocations: 267 kB / 0.5363 GB, free: 1.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.3228, allocations: 109.7 kB / 0.5364 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.3229, allocations: 54.3 kB / 0.5365 GB, free: 1.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.323, allocations: 340 kB / 0.5368 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3231, allocations: 76.06 kB / 0.5369 GB, free: 1.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.3232, allocations: 131 kB / 0.537 GB, free: 1.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.3235, allocations: 219 kB / 0.5372 GB, free: 1.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3235, allocations: 1.375 kB / 0.5372 GB, free: 1.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004142/0.3239, allocations: 278.4 kB / 0.5375 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.324, allocations: 6.062 kB / 0.5375 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.324, allocations: 2.75 kB / 0.5375 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.324, allocations: 6.688 kB / 0.5375 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.3243, allocations: 61.72 kB / 0.5375 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3243, allocations: 6.938 kB / 0.5375 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.3244, allocations: 7.266 kB / 0.5375 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.3244, allocations: 12.25 kB / 0.5376 GB, free: 0.9531 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.0001315/0.3245, allocations: 152.2 kB / 0.5377 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.3246, allocations: 30.27 kB / 0.5377 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.124e-05/0.3246, allocations: 35.61 kB / 0.5378 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3246, allocations: 8.062 kB / 0.5378 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3246, allocations: 0.7031 kB / 0.5378 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3246, allocations: 1.219 kB / 0.5378 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000981/0.3256, allocations: 0.726 MB / 0.5385 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3256, allocations: 1.875 kB / 0.5385 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.3259, allocations: 49.92 kB / 0.5385 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3259, allocations: 2.938 kB / 0.5385 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3259, allocations: 10.28 kB / 0.5385 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3259, allocations: 6.969 kB / 0.5385 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3259, allocations: 1.031 kB / 0.5385 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.3264, allocations: 450.4 kB / 0.539 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.3265, allocations: 26.47 kB / 0.539 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.3265, allocations: 10.75 kB / 0.539 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3266, allocations: 13.69 kB / 0.539 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.3266, allocations: 16.73 kB / 0.539 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3267, allocations: 13.89 kB / 0.5391 GB, free: 15.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.3269, allocations: 186.6 kB / 0.5392 GB, free: 15.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3269, allocations: 0 / 0.5392 GB, free: 15.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.3272, allocations: 55.22 kB / 0.5393 GB, free: 15.81 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.0008409/0.328, allocations: 0.9817 MB / 0.5402 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.3283, allocations: 195.6 kB / 0.5404 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3283, allocations: 0 / 0.5404 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.3285, allocations: 100.9 kB / 0.5405 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3289, allocations: 43.56 kB / 0.5406 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.3322, allocations: 2.986 MB / 0.5435 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.3324, allocations: 220.8 kB / 0.5437 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.88e-05/0.3325, allocations: 27.3 kB / 0.5437 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.3327, allocations: 143.5 kB / 0.5439 GB, free: 12.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3327, allocations: 0 / 0.5439 GB, free: 12.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/0.3725, allocations: 5.485 MB / 0.5492 GB, free: 9.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.03, allocations: 10.12 kB / 0.5492 GB, free: 9.582 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.776295171002857] Failed to read output from testmodel.py, exit status != 0: 11.194219529978 11.218903541 10.898218275 Calling exit ...